Extracting Values from Simulation
This section continues the example from Example: Water-Tank System. At this stage in the example,
linearization point objects have been created in the MATLAB workspace.
See Selecting Inputs and Outputs for the Linearized Model for
more information on creating linearization point objects.
Use Simulink Control Design software to extract operating
points from a simulation of your model at specified times, such as
when the simulation reaches a steady state solution.
For example,
to create an operating point object for the water-tank model after
it has simulated for 20 time units, type
watertank_op=findop('watertank',20)
MATLAB software displays the operating point at time t=20.
Operating Point for the Model watertank.
(Time-Varying Components Evaluated at time t=20)
States:
----------
(1.) watertank/PID Controller/Integrator
x: 1.54
(2.) watertank/Water-Tank System/H
x: 10.2
Inputs: None
----------
 | Specifying Completely Known Operating Points | | Using Structures and Vectors of Operating Point Values |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit