Main Content

Stream To Workspace blocks

Description

Whether data logged using To Workspace blocks streams to the Simulation Data Inspector.

Category: Data Import/Export

Settings

Default: On

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 or half data types.

  • Logging signals with int64 or uint64 using the built-in data types.

    When a license for Fixed-Point Designer™ is available, int64 and uint64 data is logged as a fi (Fixed-Point Designer) object. When a license for Fixed-Point Designer is not available, data is logged as double data.

  • Logging data inside For-Each subsystems.

  • Using the Timeseries format in rapid accelerator simulations.

Tips

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.

Programmatic Use

Parameter: StreamToWks
Value: 'on' | 'off'
Default: 'on'

Recommended Settings

ApplicationSetting
Debugging

On

Traceability

No recommendation

Efficiency

On

Safety precaution

No recommendation

Related Topics