Simulink Control Design™ - MathWorks

(Tuis.) #1
Create a linearization option set, and set the StoreOffsets option.

opt = linearizeOptions('StoreOffsets',true);

Create slLinearizer interface.

sllin = slLinearizer(mdl,opt);

Add analysis points to calculate the closed-loop transfer function.

addPoint(sllin,{'r','y1m'});

Calculate the input/output transfer function, and obtain the corresponding linearization
offsets.

[sys,info] = getIOTransfer(sllin,'r','y1m');

View offsets.

info.Offsets

ans =

struct with fields:

x: [6x1 double]
dx: [6x1 double]

15 Alphabetical List

Free download pdf