Effacer les filtres
Effacer les filtres

save workspace does not save some variables

13 vues (au cours des 30 derniers jours)
Samuel
Samuel le 30 Août 2012
When saving some variables from the workspace to a .MAT file, some variables are skipped every time.
The variable in question is quite large (6000x100,000), so I was wondering whether there is a size restriction in play. I tried looking through the Matlab help files on saving the workspace but could not find any information on this problem.
This problem occurred using windows and mac computers, both using the latest version of Matlab for 64 bit computers.
My question is twofold. Firstly, is the size of these variables restricted? And secondly, if this is the case, how do I circumvent this?

Réponse acceptée

Tom
Tom le 30 Août 2012
I believe it is- try saying as a version 7.3 file. To do that you just add '-v7.3' when you are sending to the save function, see
doc save
for details.

Plus de réponses (1)

Samuel
Samuel le 30 Août 2012
That did it.
thanks!

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by