Simulink Control Design™ - MathWorks

(Tuis.) #1

[j,k] = ind2sub(sz,i);
sysFastRestartLoop(:,:,j,k) = linearize(model,io,op); % linearize the model
end


Turn off fastRestartForLinearAnalysis and close the model.


fastRestartForLinearAnalysis(model,'off');
bdclose(model);


Input Arguments


model — Simulink model name
character vector | string | slTuner object | slLinearizer object


Simulink model name, specified as a character vector, string, slTuner, or
slLinearizer object. The model must be in the current working folder or on the
MATLAB path.


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.


Example: ...,'UseBusSignalLabels','on'


AnalysisPoints — Analysis point set
[] (default) | linearization I/O object | vector of linearization I/O objects


Analysis point set that contains inputs, outputs, and openings, specified as the comma-
separated pair consisting of 'AnalysisPoints' and a linearization I/O object or a vector
of linearization I/O objects. To create 'AnalysisPoints':



  • Define the inputs, outputs, and openings using linio.

  • If the inputs, outputs, and openings are specified in the Simulink model, extract these
    points from the model using getlinio.


Each linearization I/O object in 'AnalysisPoints' must correspond to the Simulink
model model or some normal mode model reference in the model hierarchy.


fastRestartForLinearAnalysis
Free download pdf