- Port — Input port number
- u — Input value
BlockPath — Block path
character vector
Block path in Simulink model, specified as a character vector.
Usage
When troubleshooting a block linearization, you can check the input and state values for
the operating point at which the block was linearized using the OperatingPoint
property of a BlockDiagnostic object.
Examples
Obtain Block Operating Point
Load Simulink model.
mdl = 'scdpendulum';
load_system(mdl)
Linearize the model and obtain a LinearizationAdvisor object.
io = getlinio(mdl);
opt = linearizeOptions('StoreAdvisor',true);
[linsys,~,info] = linearize(mdl,io,opt);
advisor = info.Advisor;
Obtain block diagnostics for the second block in the list. This block is a second-order
integrator.
diags = getBlockInfo(advisor,2);
Obtain the operating point at which this block was linearized.
blockOP = diags.OperatingPoint
17 Objects — Alphabetical List