Simulink Control Design™ - MathWorks

(Tuis.) #1

Save data to workspace


Save one or more linear systems to perform further linear analysis or control design.

The saved data is in a structure whose fields include:


  • time — Simulation times at which the linear systems are computed.

  • values — State-space model representing the linear system. If the linear system is
    computed at multiple simulation times, values is an array of state-space models.

  • operatingPoints — Operating points corresponding to each linear system in
    values. This field exists only if Save operating points for each linearization is
    checked.


The location of the saved data structure depends upon the configuration of the Simulink
model:


  • If the Simulink model is not configured to save simulation output as a single object,
    the data structure is a variable in the MATLAB workspace.

  • If the Simulink model is configured to save simulation output as a single object, the
    data structure is a field in the Simulink.SimulationOutput object that contains
    the logged simulation data.


To configure your model to save simulation output in a single object, in the Simulink
editor, select Simulation > Model Configuration Parameters. In the Configuration
Parameters dialog box, in the Data Import/Export pane, check Single simulation
output.

For more information about data logging in Simulink, see “Export Simulation Data”
(Simulink) and the Simulink.SimulationOutput reference page.

Settings

Default: Off

On
Save the computed linear system.

Off
Do not save the computed linear system.

16 Blocks — Alphabetical List

Free download pdf