Main Content


(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.


    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