If I create a data store in the base workspace like so:
DataStore = Simulink.Signal;DataStore.Description = 'Stores data for a variable.';DataStore.DataType = 'double';DataStore.Complexity = 'real';DataStore.Dimensions = 1;DataStore.SamplingMode='Sample based';DataStore.SampleTime = 0.1;
how can I later get this data via the Command Window, specifically the DataType? I can access it by double-clicking the workspace variable (shown below), but I need to get this data programmatically for a script.
Best Answer