mat file cannot be opened in R2015a

Hi all
I have this mat file containing a DataSet.
I can open it in Matlab R2020a, R2020b and R2021a, but I cannot open it R2015a...
I tried googling the error, but I couldn't find a single hit on the RamDatasetStorage error :/
Any hint?
>> load('foo.mat')
Warning: Cannot load an object of class 'RamDatasetStorage':
Its class cannot be found.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 31 de Mzo. de 2021

0 votos

It appears you are using a class that is not supported in R2015a. For what it's worth, I can't open it in R2016a either. I don't have R2016b installed, but it opens in R2017a.
In R2016a, the error mentions the Simulink.SimulationData.Storage class. In the release notes, I do see some additions to the SimulinkData object in 16b and 17a.

2 comentarios

Luca Costantino
Luca Costantino el 31 de Mzo. de 2021
Editada: Luca Costantino el 31 de Mzo. de 2021
Thanks for your answer
What can I do to fix it?
There is nothing fancy inside, it's just some x,y,z, ... data going to a bus and then to a to workspace block...
Cris LaPierre
Cris LaPierre el 31 de Mzo. de 2021
I think the suggestions made in this post apply here. Basically, you need functionality that did not exist in MATLAB prior to 16b or 17a. The only way to get it is to update to one of those versions. The other alternative is to try to create the SimulationData without using the RamDatasetStorage class. However, this appears to be an under-the-hood use, so you might not be able to control that.

Iniciar sesión para comentar.

Categorías

Preguntada:

el 31 de Mzo. de 2021

Comentada:

el 31 de Mzo. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by