COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### uicontrols #2

• Email
• Follow

```Hi everyone!

I use this:

>>h1 = uicontrol(fig_100, 'Style', 'pushbutton', 'String', 'Continue',...
'Position', [20 20 100 30], 'Callback', 'uiresume(gcbf)');
>>         uiwait(gcf);
>>         clf

in fmincon output function so that I pause optimization after each iteration and after that I resume it by pressing on 'Continue' button. But I wont to do this variable number of times and after some iteration to say 'Now continue till end'. I want to have another push button that wont call uiwait until optimization finish.
Please if anyone can tell me Is this possible and how can I do this?

Thanks
```
 0
Reply didi_cvet (28) 1/25/2010 3:08:04 PM

See related articles to this posting

0 Replies
60 Views

Similar Articles

12/11/2013 7:27:11 PM
[PageSpeed]

Similar Artilces:

how to do this? #2 #2
Hi, I am working on a program which can do numerical evaluations for integrations. The program I have is like this, double foo(p1, p2) double p1, p2; { double kk,step; int ii; step_sz=(p2-p1)/100.; kk=0.; for (ii=0;ii<100;ii++) kk+=sin(p1+ii*step_sz)*step_sz; return (kk); } This program used the basic Newton method. My question is here in my program foo, I can only calculate the integrations for a sine function. If I want to do an integration for a cosine function, I need to rewrite another function foo1 with cosine being inserted in. I am sure there is a neat way to do this wit...

SWX Properties Ver 2.2.2
Well after many sleepless nights and with the help of My NG friends in the US, the next version of SWX Properties Ver 2.2.2 is now ready to be picked up by anyone who wants it. The link is somewhere down below. This FREE program (with absolutely no strings attached electronic or otherwise) is for modifying, Summary, Custom or Configuration Specific Properties. It works on Parts, Assemblies and Drawings. At the moment there is no help file, that will follow later. It's a suck it and see program, which I hope users will find helpful. I usually have this program in my Quick Launch toolbar, ...

Python 2.0 / Python 2.2
Hallo newsgroup, I have some questions concerning Python 2.2. First question: I try to port source code from Python 2.0 to Python 2.2.The following source code works with Python 2.0. If I compile it with Python 2.2, the modul "tci" is not imported. "tci" is a python module written by us. How can I change the source code to get it working with Python 2.2.? Py_Initialize(); PyStr = Py_BuildValue("s", TCIHome); PyModule = PyImport_ImportModule("sys"); PyList = PyObject_GetAttrString(PyModule, "path"); PyList_Insert(PyList, 0, PyStr); if (PyEr...

[SOLUTION] Secret Santas (#2) #2 #2
Less fun, but more reliable possibly, is the mess-them-around-randomly-until-it-looks-right option. It does this very stupidly, and will run indefinitely if you feed it something for which there is no solution. (If you're really unlucky it will run indefinitely if you feed it something really simple!) - Peter #!/usr/bin/env ruby class Person attr_reader :sname, :email def initialize(details) @fname, @sname, @email = details.scan(/(\w+)\s+(\w+)\s+<(.*)>/)[0] end def to_s() @fname + " " + @sname end end a, b = [], [] STDIN.each do |l| someone = ...

Sockets #2 #2
I have the following code but when I try to send message beteewn client both have to enter a string before the first string appears on the other person screen how can I make it so that when first start the cleint and enter a string it appears stright away not only after they enter a string? import java.io.*; import java.net.*; import java.util.*; public class Client{ private static final int PORTNUM = 44130; public static void main(String[] args) { Socket socket; DataInputStream in; PrintStream out; String address; try { s...

gimptool-2.2??
I just now came to this newsgroup and noticed reference to using something called "gimptool-2.2" ... a search of the web didn't turn up any program with this name. Can you tell me where is this tool available? Thanks ... -- www.readhadendesigns.com Hand made decorative accessories in clay, papier mache, wood, natural materials and fibre. Web page design, graphics. ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total...

Wanted: Computer Gaming World issues 2.2, 2.4, 4.1 #2
Good day, I am looking for the following issues of Computer Gaming World magazine: 2.2, 2.4 (1982) 4.1 (1984) I'm willing to purchase or trade... thanks for your help! Steph -- cgw.vintagegaming.org The Computer Gaming World Museum ...

help #2 #2
Hello all, I have a C++ program, it does some calculations on things and then prints out a file in the format in which GNUPLOT can use. So my question is how would i call GNUPLOT from my C++ program. I know in some operating systems you can do system("gnuplot"); But not with red hat 7.3. So could some kind soul help me out? Thanks "Joseph Suprenant" <laclac01@yahoo.com> wrote in news:f7Xmb.60244\$Sc7.379@twister.nyroc.rr.com: > Hello all, > I have a C++ program, it does some calculations on things and then > prints out a file in the format in...

enumerations #2 #2
if I have 2 files (say foo1.c and foo2.c) which link within the same application, can I use 2 enumerations with the same names? Example: //foo1.c typedef enum{ HELLO_WORLD, SPECIFIC_NUM1 }foo1_enum; //foo2.c typedef enum{ SPECIFIC_NUM2, HELLO_WORLD }foo2_enum; Does it complain for the HELLO_WORLD enumeration? "InuY4sha" <inuy4sha@gmail.com> wrote in message news: > if I have 2 files (say foo1.c and foo2.c) which link within the same > application, can I use 2 enumerations with the same names? > Example: > > //foo1.c > typedef enum{ > HELL...

error 2 #2
ada yg bisa bantu gk..... file aku sering rusak "Fatal Manager Error 2" Gimana ya cara spy gk error lg???? ...

Help me #2 #2
Hi all, I need help regarding the following I have the dataset like this cus_id place Ser_dte 7845 10412 4/24/2006 7845 11592 4/24/2006 7845 25390 4/24/2006 7845 10412 4/25/2006 7845 11592 4/25/2006 7845 25390 4/25/2006 7845 26515 4/25/2006 1342 1123 5/2/2006 1342 2345 5/2/2006 1342 5477 5/2/2006 1342 6379 5/2/2006 1342 1123 5/2/2006 1342 2345 5/2/2006 1342 5477 5/2/2006 1342 6379 5/2/2006 1342 5467 5/2/2006 1342 1452 5/2/2006 Output has to be Here the overall has to be the underscore of each of t...

mail #2 #2

JTables #2 #2
Hi everyone, I am currently trying to print a multipage JTable but the the thing is on the left hand side of the JTable does not have any grid lines and i have tried to draw a rectangle around the jTable before printing it but nothing is happening. Another thing is that when the JTable goes on the next page for printing there are trailing grid lines on the previous page. I have tried clipping and translating it but nothing works. You guys can try removing the painting of the Table Headers to get a clearer picture if you want Here is the code with a mini test program so you guys can run th...

syntax #2 #2
What is the best C compiler for windows XP ? John said: > What is the best C compiler for windows XP ? The one you already have. If you don't already have one, I suggest you get hold of either mingw (the Windows version of gcc), or Borland's free command line compiler, or perhaps Microsoft's free command line compiler. URLs to all the above (and more) can be found at: http://www.cpax.org.uk/prg/portable/c/resources.php#FreeCompilers -- Richard Heathfield "Usenet is a strange place" - dmr 29/7/1999 http://www.cpax.org.uk email: rjh at above domain (but drop ...

Newbie #2 #2
Hi everyone. I'm new to this group, so I just wanted to take a second to figure out if it's right for me. Looking over the recent postings, I see a bunch of fairly technical questions. I'm relatively new to Plan 9, I found it because I've been interested in Operating Systems for some time and Plan 9 seems to have some interesting technology. I'd like to learn more about Plan9 and how and why people are using it, but at least right now, not overly interested in specific detail. I'm definitely a newbie to this environment. Is this a group where I might learn a little...

test #2 #2
Test of the News -- Elvira Mi Photo Gallery http://www.personal.able.es/ensoriano ...

ARRAYS #2 #2
NEED HELP INCREASING CAPACITY OF ARRAY FOR SEARCHING AND FINdING AND ADDING MULTIPLE COMPONENTS (like in struct) =================================================================================== void AddtoArray(vector<String>&Array,const String & ValtoAdd) { Array.resize(Array.length()+1); Array[Array.length()-1]=ValtoAdd; } 1) Disable the caps lock key (at least while posting). 2) Unless you are not using the stl vector or if you are and not limited in the amount of memory that is available remove the function and use .pushback(value) on the vector you are passing to th...

This is a test #2 #2
Just seeing if I can post through Astraweb, as Netfront seems to be having problems. "Scott Alfter" <scott@alfter.diespammersdie.us>=20 wrote in message news:4f56543f\$0\$59002\$c3e8da3\$ dbd57e7@news.astraweb.com...=20 > Just seeing if I can post through Astraweb,=20 > as Netfront seems to be having problems.=20 I see you, Scott. :-)=20 Seems to have posted nicely.=20 SEPA Electronics=20 http://www.sepa-electronics.com=20 Bill Garber=20 ...