(Not recommended) Set options for dksyn

dksynOptions is not recommended. Use musynOptions instead. For more information, see Compatibility Considerations.


opt = dksynOptions
opt = dksynOptions(Name,Value)


opt = dksynOptions returns the default options for dksyn.

opt = dksynOptions(Name,Value) returns an option set with additional options specified by one or more Name,Value pair arguments.

Input Arguments

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside quotes. You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

dksynOptions takes the following Name arguments:


Frequencies for mu-analysis, specified as a vector. When empty, dksyn automatically chooses the frequency range and number of points.

Default: []


Controller for initializing first iteration, specified as a state-space (ss) model.

Default: []


Automated mu-synthesis mode, specified as either 'on' or 'off'. When automated mu-synthesis mode is off, dksyn performs an interactive D-K iteration procedure. You are prompted to fit the D-scale data and provide input on the control design process.

Default: 'on'


Status of display in automated mu-synthesis mode, specified as either 'off' or 'on'. When the display is on, and automated mu-synthesis mode is active, dksyn displays the iteration progress during the synthesis computation.

Default: 'off'


Iteration number for initiating iteration procedure, specified as a positive integer. Use this option when you provide the prevdkinfo argument to dksyn to use information from a previous dksyn calculation. In this case, specify the starting iteration number from which to resume the iteration procedure.

Default: 1


Number of iterations to perform in automatic mu-synthesis mode, specified as a positive integer.

Default: 10


Flag indicating whether to perform mixed real/complex mu-synthesis when real parameters are present, specified as either 'off' or 'on'. Mixed mu-synthesis accounts for uncertain real parameters directly in the synthesis process. Setting 'MixedMU' to 'on' when you have uncertain real parameters can result in improved robust performance of the synthesized controller.

Default: 'off'


State order for fitting D-scaling and G-scaling data for real/complex mu-synthesis, specified as a vector of the form [dorder,gorder].

Default: [5 2] (5th-order D-scalings and 2nd-order G-scalings)


Automatic termination mode, specified as either 'on' or 'off'. When AutoIterSmartTerminate is 'on', the iteration procedure terminates based on the progress of the design iteration. Set the tolerance for automatic termination using AutoIterSmartTerminateTol.

In automatic termination mode, the iteration procedure terminates when a stopping criterion is satisfied. The stopping criterion involves the objective value (peak value, across frequency, of the upper bound for µ) in the current iteration, denoted v0. The stopping criterion also involves the objective value in the previous two iterations, denoted v–1 and v–2. The stopping criterion is satisfied for lack of progress if:




The stopping criteria is also satisfied for an undesirable significant increase in the objective value if:


Default: 'on'


Tolerance for AutoIterSmartTerminate mode.

Default: 0.005

Output Arguments


Option set containing the specified options for the dksyn command.


collapse all

Create an options set for a dksyn run using a logarithmic distribution of frequency points for analysis and performing 24 iterations.

options = dksynOptions('FrequencyVector',logspace(-2,3,80),...

Alternatively, use dot notation to set the values of options.

options = dksynOptions;
options.FrequencyVector = logspace(-2,3,80);
options.NumberOfAutoIterations = 24;

Compatibility Considerations

expand all

Not recommended starting in R2020a

Introduced in R2013a