Main Content

whos

(Not recommended) List name and type 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

    whos(logs) lists the name and type of each top-level object inside the data logging object logs.

    whos(logs,opt) lists the name and type of the objects inside the data logging object logs according to the option opt.

    Input Arguments

    collapse all

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

    Objects for which to list name and type, specified as 'systems' or 'all'.

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

    • 'all' — List name and type 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.