www.gusucode.com > control 案例程序 matlab源码代码 > control/CreateOptionsSetforsystuneExample.m

    %% Create Options Set for systune  
% Create an options set for a |systune| run using five random restarts.
% Also, set the display level to show the progress of each iteration, and
% increase the relative tolerance of the soft constraint value to 0.01.   

%%  
options = systuneOptions('RandomStart',5,'Display','iter',...
                         'SoftTol',0.01);  

%% 
% Alternatively, use dot notation to set the values of |options|. 
options = systuneOptions;
options.RandomStart = 5;
options.Display = 'iter';
options.SoftTol = 0.01;