This example shows how to use the Linear Analysis Tool to linearize a plant subsystem at the model operating point. The model operating point consists of the model initial state values and input signals.
Use this simpler approach instead of defining linearization I/O points when the plant is a subsystem or a block.
Open a Simulink® model.
sys = 'watertank'; open_system(sys)
Open the Linear Analysis Tool.
In the Simulink model window, right-click the Water-Tank System block and select Linear Analysis > Linearize Block.
View the block selected for linearization.
Click adjacent to the Analysis I/Os drop-down menu.
The Water Tank System block is highlighted.
In the Plot Result drop-down menu, select New Bode.
Linearize the plant.
The Bode plot of the linearized plant appears.
The linearization result, linsys1, appears in the Linear Analysis Workspace.
View the resulting linear plant model.
In the Linear Analysis tab, choose linsys1 from the Select Result list. In the Select Report list, choose Show result details.
The Linearization results dialog box for linsys1 opens.
Close the Simulink model.