Quantcast

Documentation Center

  • Trial Software
  • Product Updates

unpack

Extract signal logging objects from signal logs and write them into MATLAB workspace

Syntax

log.unpack
tsarray.unpack
log.unpack('systems')
log.unpack('all')

Description

log.unpack or unpack(log) extracts the top level elements of the Simulink.ModelDataLogs or Simulink.SubsysDataLogs object named log (e.g., logsout).

log.unpack('systems') or unpack(log, 'systems') extracts Simulink.Timeseries and Simulink.TsArray objects from the Simulink.ModelDataLogs or Simulink.SubsysDataLogs object named log . This command does not extract Simulink.Timeseries objects from Simulink.TsArray objects nor does it write intermediate Simulink.ModelDataLogs or Simulink.SubsysDataLogs objects to the MATLAB® workspace.

log.unpack('all') or unpack(log, 'all') extracts all the Simulink.Timeseries objects contained by the Simulink.ModelDataLogs, Simulink.TsArray, or Simulink.SubsysDataLogs object named log.

tsarray.unpack extracts the time-series objects of class Simulink.Timeseries from the Simulink.TsArray object named tsarray.

See Also

| | | | | |

Was this topic helpful?