Simulink Reference Previous page   Next Page
unpack

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

Syntax

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 are not expanded into individual timeseries 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

whos, who


Previous page  slbuild who Next page

© 1994-2005 The MathWorks, Inc.