|
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
|