NoteIf a triggered subsystem is disabled at the current operating condition and has at
least one direct passthrough I/O pair, then the subsystem will break the linearization path
curing linearization. In such a case, specify a block substitution or ensure that the
subsystem does not have a passthrough I/O pair.
Periodic Function Call Subsystems for Modeling Event-Based
Subsystems
This example shows how to use periodic function call subsystems to approximate event-
based dynamics for linearization.
1 Open Simulink model.
sys = 'scdPeriodicFcnCall';
open_system(sys)
(^2) Linearize model at the model operating point.
io = getlinio(sys);
linsys = linearize(sys,io)
The linearization is zero because the subsystem is not a periodic function call.
D =
Desired Wat
Water-Tank S 0
Static gain.
Now, specify the Externally Scheduled Controller block as a Periodic Function Call
Subsystem.
(^3) Double-click the Externally Scheduled Controller (Function-Call Subsystem) block.
Double-click the function block to open the Block Parameters dialog box.
2 Linearization