whos
(Removed) List name and type of objects inside ModelDataLogs,
SubsysDataLogs, or TSArray object
The whos function has been removed. Support for the
ModelDataLogs format has been removed. Use another supported format, such
as Dataset, instead. For more information, see Version History.
Syntax
Description
Input Arguments
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 exceptSimulink.Timeseriesobjects inside a nestedSimulink.TSArrayobject.'all'— List name and type of all objects.
Version History
Introduced before R2006aData stored in the ModelDataLogs format, including data stored in
Simulink.ModelDataLogs, Simulink.Timeseries,
Simulink.TSArray, and Simulink.SubsysDataLogs objects,
is no longer supported.
The whos function has been removed. To convert data logged in
ModelDataLogs format to Dataset format, use a
version of Simulink prior to the R2024b release.
The convertToDataset function has been removed, and the
Simulink.SimulationData.Dataset object can no longer convert
ModelDataLogs format to Dataset format. To convert
data logged in ModelDataLogs format to Dataset format,
use a version of Simulink prior to the R2024b release.
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.
For scripts that simulate a model created in a release earlier than R2016a that uses
ModelDataLogs format for logging, you can convert data stored in the
ModelDataLogs format to the Dataset format.
Converting a model from using ModelDataLogs format to using
Dataset format can require that you modify your existing models and
code in callbacks, functions, scripts, or tests. This table identifies possible issues to
address after converting to Dataset format.
Possible Issue After Conversion to Dataset
Format | Solution |
|---|---|
Code in existing callbacks, functions, scripts, or tests that used the
| Check for code that uses For example, suppose that existing code includes this line. logsout.('Subsystem Name').X.dataReplace
that code with a get(logsout,"x").Values.data |
Mux block signal names are lost. | The |
Signal Viewer cannot be used for signal logging. | The software does not log signal logging data in the Signal Viewer. Use the signal logging output variable to view the logged data. |
The | The For example, suppose the data in
|
The | If necessary, add signal names. In
In For both |
Test points in referenced models are not logged. | Consider enabling signal logging for test points in a referenced model. |
Script uses | Consider using |
When you load data that uses the ModelDataLogs format as input for
simulation, the software issues a warning that support for loading data in the
ModelDataLogs format will be removed in a future release.
In a future release, the ability to load data that uses the
ModelDataLogs format as input for simulation will be removed.
Starting in R2016a, you can no longer log data using the ModelDataLogs
format, and signal logging always uses the Dataset format. When
you open a model from a previous release that had logged data using
ModelDataLogs format, the model configuration parameters are updated to
log data using the Dataset format instead.
You can still use and access data logged using the ModelDataLogs format
in previous releases, including data in Simulink.SubsysDataLogs,
Simulink.TSArray, and Simulink.Timeseries objects. You
can also convert data saved in the ModelDataLogs format to the
Dataset format, which can simplify data processing.
See Also
Objects
Functions
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)