Globally enable or disable signal logging to the workspace for this model.
Category: Data Import/Export
Enables logging data for specified signals to the MATLAB® workspace and the Simulation Data Inspector.
Specify the name of variable used to store logged signal data in the MATLAB workspace. For more information, see Specify a Name for Signal Logging Data.
Disables logging signal data to the MATLAB workspace and the Simulation Data Inspector.
You must select the Signal logging check box before entering the signal logging variable.
Simulink® saves the signal data in a MATLAB workspace variable with the specified name.
The saved data is a
Simulink does not support signal logging for the following types of signals:
Output of a Function-Call Generator block
Signal connected to the input of a Merge block
Outputs of Trigger and Enable blocks
If you select Signal logging, you can use the Configure Signals to Log button to open the Signal Logging Selector. You can use the Signal Logging Selector to:
Review all signals in a model hierarchy that are configured for logging
Override signal logging settings for specific signals
Control signal logging throughout a model reference hierarchy in a streamlined way
You can use the Signal Logging Selector with Simulink and Stateflow® signals.
For details about the Signal Logging Selector, see View Logging Configuration Using the Signal Logging Selector and Override Signal Logging Settings.
Do not use a variable name that is the same as a
function name or property name.
This parameter enables the Configure Signals to Log button.
|Type: character vector|
|Value: any valid value|
|Safety precaution||No recommendation|