Simulink.SimulationData.DatasetRef.getDatasetVariableNames
List names of variables in MAT file that contain
Simulink.SimulationData.Dataset
objects
Description
returns the names of variables in the MAT file dsNames
= Simulink.SimulationData.DatasetRef.getDatasetVariableNames(filename
)filename
that contain
Simulink.SimulationData.Dataset
objects.
When you want to get the names of variables that contain Dataset
objects, the Simulink.SimulationData.DatasetRef.getDatasetVariableNames
function runs faster than the who
or whos
functions.
Using the name of the MAT file and the name of a variable that contains a
Dataset
object, you can create a Simulink.SimulationData.DatasetRef
object that references the data in the MAT
file without loading the entire Dataset
object into memory.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2016a