Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Control Design   

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 
----------
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS