Compute Operating Points from Specifications Using
Linear Analysis Tool
You can compute a steady-state operating point of a Simulink model by specifying
constraints on the model states, outputs, and inputs, and finding a model operating
condition that satisfies these constraints. For more information on steady-state operating
points, see “About Operating Points” on page 1-3 and “Compute Steady-State Operating
Points” on page 1-6.
To find an operating point for your Simulink model, you can interactively trim your model
using the Linear Analysis Tool, as shown in this example.
Alternatively, you can trim your model:
- In the Steady State Manager. For more information, see “Compute Operating Points
from Specifications Using Steady State Manager” on page 1-23. - At the command line. For more information, see “Compute Operating Points from
Specifications at the Command Line” on page 1-17.
In this example, you compute an operating point to meet state specifications. Using a
similar approach, you can define output or input specifications. Also, you can define a
combination of state, output, and input specifications; that is, you do not have to use, for
example, only state specifications.
For more information on trimming your model to meet specifications, see “Compute
Steady-State Operating Points from Specifications” on page 1-15.
Open Linear Analysis Tool
Open the Simulink model.
sys = 'scdspeed';
open_system(sys)
Compute Operating Points from Specifications Using Linear Analysis Tool