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) | off
on
Data logged using To Workspace blocks streams to the Simulation Data Inspector during simulation.
off
Data 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
string
orhalf
data types.Logging signals with
int64
oruint64
using the built-in data types.If you have a license for Fixed-Point Designer™,
int64
anduint64
data is logged as afi
(Fixed-Point Designer) object. If you do not have a license for Fixed-Point Designer, data is logged asdouble
data.Logging data inside for-each subsystems.
Using the
Timeseries
format 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