Set options for systune
options = systuneOptions
options = systuneOptions(Name,Value)
the default option set for the
options = systuneOptions
Specify optional comma-separated pairs of
Name is the argument
Value is the corresponding
Name must appear
inside single quotes (
You can specify several name and value pair
arguments in any order as
systuneOptions takes the following
Amount of information to display during
Maximum number of iterations in each optimization run, when the run does not converge to within tolerance.
Number of additional optimizations starting from random values of the free parameters in the controller.
Parallel processing flag.
If Automatically create a parallel pool is
not selected in your preferences, you can manually start a parallel
Using parallel processing requires Parallel Computing Toolbox software.
Target value for soft constraints.
The optimization stops when the largest soft constraint value
falls below the specified
Relative tolerance for termination.
The optimization terminates when the relative decrease in the
soft constraint value decreases by less than
A priori estimate of best soft constraint value.
For problems that mix soft and hard constraints, providing a rough estimate of the optimal value of the soft constraints (subject to the hard constraints) helps to speed up the optimization.
Minimum decay rate for closed-loop poles.
Constrains all closed-loop pole locations
Option set containing the specified options for the
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 = systuneOptions; options.RandomStart = 5; options.Display = 'iter'; options.SoftTol = 0.01;
Configure an option set for a
using 20 random restarts. Execute these independent optimization runs
concurrently on multiple workers in a parallel pool.
If you have the Parallel Computing Toolbox software installed,
you can use parallel computing to speed up
of fixed-structure control systems. When you run multiple randomized
starts, parallel computing speeds up tuning by distributing the optimization
runs among workers.
If Automatically create a parallel pool is selected in your preferences, you do not need to manually start a pool.
systuneOptions set that specifies
20 random restarts to run in parallel.
options = systuneOptions('RandomStart',20,'UseParallel',true);
parallel processing by distributing the randomized starts among available
workers in the parallel pool.
systuneOptions set when you
systune. For example, suppose you have already
created a tunable control system model,
tuning this system, you have created vectors
objects. These vectors represent your soft and hard constraints, respectively.
In that case, the following command uses parallel computing to tune
the control system of
[CL,fSoft,gHard] = systune(CL0,SoftReqs,HardReqs,options);