Batch Linearization to Obtain Multiple Transfer
Functions for Varied Parameter Values
This example shows how to use the slLinearizer interface to batch linearize a
Simulink model. You vary model parameter values and obtain multiple open- and closed-
loop transfer functions from the model.
You can perform the same analysis using the linearize command. However, when you
want to obtain multiple open- and closed-loop transfer functions, especially for a large-
scale model, slLinearizer can be more efficient.
Cascaded Loop Model
The scdcascade model contains a pair of cascaded feedback control loops. Each loop
includes a PI controller. The plant models, G1 (outer loop) and G2 (inner loop), are LTI
models.
Use the slLinearizer interface to initially analyze the inner-loop dynamics. Then,
analyze the outer-loop dynamics.
mdl = 'scdcascade';
open_system(mdl);
Create slLinearizer Interface for scdcascade
sllin = slLinearizer(mdl)
3 Batch Linearization