Simulink Control Design™ - MathWorks

(Tuis.) #1

params(1).Value = A;


B = [b1 b2];
params(2).Name = 'b';
params(2).Value = B;


Vary Multiple Parameters in Graphical Tools


To vary the value of multiple parameters for batch linearization in Linear Analysis Tool or
Control System Tuner, open the Select model variables dialog box, as described in “Vary
Single Parameter in Graphical Tools” on page 3-63. In the dialog box, check all variables
you want to vary.


NoteIf a parameter you want to vary is not a scalar variable, click Specify expression
indexing if necessary and enter an expression that resolves to a scalar value. For
example, if A is a vector, enter A(3) to specify the third entry in A. If A is a structure and
the scalar parameter you want to vary is the Value field of that structure, enter
A.Value. The indexed variable appears in the variable list.


Click OK. The selected variables appear in the Parameter Variations table. Each
column in the table corresponds to one selected variable. Each row in the table


Specify Parameter Samples for Batch Linearization
Free download pdf