opt = findopOptions('DisplayReport','off');
[op,opreport] = findop(mdl,opspec,params,opt);
op is a 3-by-4 array of operating point objects that correspond to the specified parameter
grid points.
Specify the block path for the plant model.
blockpath = 'watertank/Desired Water Level';
To store offsets during linearization, create a linearization option set and set
StoreOffsets to true.
options = linearizeOptions('StoreOffsets',true);
Batch linearize the plant at the trimmed operating points, using the specified I/O points
and parameter variations.
[linsys,linop,info] = linearize(mdl,blockpath,op,params,options);
You can use the offsets in info.Offsets when configuring an LPV System block.
info.Offsets
ans =
3x4 struct array with fields:
x
dx
u
y
StateName
InputName
OutputName
Ts
Input Arguments
mdl — Simulink model name
character vector | string
linearize