Stream To Workspace blocks
Option to disable streaming data logged using To Workspace blocks to Simulation Data Inspector
Since R2022a
Model Configuration Pane: Hardware Implementation
Description
Use this parameter to control whether data logged using To Workspace blocks
streams to the Simulation Data Inspector. By default, data logged using To
Workspace blocks streams to the Simulation Data Inspector along with logged
signal data, data stores, and states and outputs logged using the
Dataset format.
When you run multiple simulations in a single MATLAB® session, the Simulation Data Inspector retains results from each simulation so you can analyze the results together. To control the amount of data retained in the Simulation Data Inspector, do not use this parameter. See Limit the Size of Logged Data.
Settings
on (default) | offonData logged using To Workspace blocks streams to the Simulation Data Inspector during simulation.
offData logged using To Workspace blocks does not stream to the Simulation Data Inspector.
When you disable this parameter, To Workspace blocks do not support:
Logging arrays of buses.
Logging signals with
stringorhalfdata types.Logging signals with
int64oruint64using the built-in data types.If you have a license for Fixed-Point Designer™,
int64anduint64data is logged as afi(Fixed-Point Designer) object. If you do not have a license for Fixed-Point Designer, data is logged asdoubledata.Logging data inside for-each subsystems.
Using the
Timeseriesformat in rapid accelerator simulations.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | On |
| Traceability | No recommendation |
| Efficiency | On |
| Safety precaution | No recommendation |
Programmatic Use
Parameter: StreamToWks |
| Type: string | character vector |
Values:
'on' | 'off' |
Default: 'on' |
Version History
Introduced in R2022a