Simulink Control Design™ - MathWorks

(Tuis.) #1
variable, specify the parameter name as an expression that resolves to a numeric
scalar value. For example, to use the first element of vector V as a parameter, use:

param.Name = 'V(1)';


  • Value — Parameter sample values, specified as a double array.


For example, vary the value of parameter A in the 10% range:

param.Name = 'A';
param.Value = linspace(0.9*A,1.1*A,3);


  • Structure array — Vary the value of multiple parameters. For example, vary the values
    of parameters A and b in the 10% range:


[A_grid,b_grid] = ndgrid(linspace(0.9*A,1.1*A,3),...
linspace(0.9*b,1.1*b,3));
params(1).Name = 'A';
params(1).Value = A_grid;
params(2).Name = 'b';
params(2).Value = b_grid;

If param specifies tunable parameters only, then the software batch linearizes the model
using a single compilation. If you also configure sllin.OperatingPoints with
operating point objects only, the software uses single model compilation.

OperatingPoints

Operating points for linearizing mdl, specified as an operating point object, array of
operating point objects, or array of positive scalars.

Set this property using the op input argument or dot notation
(sllin.OperatingPoints = op). op must be one of the following:


  • Operating point object, created using findop with either a single operating point
    specification, or a single snapshot time.

  • Array of operating point objects, specifying multiple operating points.


To create an array of operating point objects, you can:


  • Extract operating points at multiple snapshot times using findop.

  • Batch trim your model using multiple operating point specifications. For more
    information, see “Batch Compute Steady-State Operating Points for Multiple
    Specifications” on page 1-91.


15 Alphabetical List

Free download pdf