Simulink Control Design™ - MathWorks

(Tuis.) #1

Dependencies


This parameter enables Variable name on page 16-213.


Command-Line Information
Parameter: SaveToWorkspace
Type: character vector
Value: 'on' | 'off'
Default: 'off'


See Also


Plot Linear Characteristics of Simulink Models During Simulation on page 2-82


“Verify Model at Default Simulation Snapshot Time” on page 14-6


Variable name


Name of the data structure that stores one or more linear systems computed during
simulation.


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.


The name must be unique among the variable names used in all data logging model
blocks, such as Linear Analysis Plot blocks, Model Verification blocks, Scope blocks, To
Workspace blocks, and simulation return variables such as time, states, and outputs.


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


Settings


Default: sys


Character vector.


Nichols Plot
Free download pdf