Main Content

who

(Not recommended) List names of objects inside ModelDataLogs, SubsysDataLogs, or TSArray object

    The ability to log and load data using the ModelDataLogs format has been removed. Use another supported format, such as Dataset format, instead. For more information, see Compatibility Considerations.

    Description

    who(logs) lists the names of top-level objects inside the data logging object logs.

    who(logs,opt) lists the names of objects inside the Simulink.ModelDataLogs or Simulink.TSArray object logs according to the option specified by opt.

    Input Arguments

    collapse all

    Logged data, specified as a Simulink.ModelDataLogs object or a Simulink.TSArray object.

    Object names to list, specified as 'systems' or 'all'.

    • 'systems' — List names of all objects except Simulink.Timeseries objects inside a nested Simulink.TSArray object.

    • 'all' — List names of all objects.

    Version History

    Introduced before R2006a

    expand all

    R2022b: Loading data saved in the ModelDataLogs format no longer supported

    Starting in R2022b, you can no longer load data stored in the ModelDataLogs format, including data stored in Simulink.Timeseries, Simulink.TSArray, and Simulink.SubsysDataLogs objects.

    You can convert data stored in the ModelDataLogs format to the Dataset format. For more information, see Convert Data to Dataset Format.