Combined and transformed datastores — Datastores created using the combine and transform functions.
Custom datastores — Datastores created using the custom datastore framework.
Any datastore that subclasses from matlab.io.Datastore supports the
isPartitionable function. See Develop Custom Datastore for more information.
Use curly braces ({ and }) to extract the signal element fuel, which is the tenth element in DSRef, as a Simulink.SimulationData.Signal object that contains a SimulationDatastore object.
SimDataSig = DSRef{10};
To more easily interact with the SimulationDatastore object that resides in the Values property of the Signal object, store a handle in a variable named DStore.
DStore = SimDataSig.Values;
Determine if the datastore is partitionable.
if isPartitionable(DStore)
disp('Datastore is partitionable.')
else
disp('Datatstore is not partitionable.')
end