convertToDataset
(Removed) Convert data logged using ModelDataLogs format to
Dataset format
The convertToDataset 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.
Description
converts the data in the ds = convertToDataset(mdlObj,dsName)Simulink.ModelDataLogs object
mdlObj to a Simulink.SimulationData.Dataset with the name
specified by dsName. The output ds is a
Dataset object that contains a flat list with an element for each
Simulink.Timeseries, Simulink.ModelDataLogs,
Simulink.TSArray, and Simulink.SubsysDataLogs object
inside mdlObj.
You can also use the Simulink.SimulationData.Dataset function to
convert data from the ModelDataLogs format to the Dataset
format.
Input Arguments
Output Arguments
Limitations
Source of Simulink.ModelDataLogs Data | Conversion Limitation |
|---|---|
Model reference | Conversion fails if any ancestor of the model reference is not on the MATLAB® path. Conversion might fail if the model reference or
any ancestors of the model reference have changed since the
|
Variant model or subsystem | Conversion fails if the current active variant is not the same as the
active variant when the |
Frame signal | Not supported. |
Mux block | Conversion produces a different |
Stateflow® chart | Not supported. |