Error in saving results

2 Ansichten (letzte 30 Tage)
tanmoy
tanmoy am 28 Jul. 2014
Beantwortet: Geoff Hayes am 28 Jul. 2014
Hi, I am using the following command for saving the results at the end of my matlab code.
eval(['save RNDalldata Nsamp nsensor Hom_RND Z nat_freq_RND stat_ABS_RND']);
Though all other variables get saved properly, the variable named Hom_RND [10000x10000x4 complex double] is not getting saved, instead I am getting this error massage:
Warning: Variable 'Hom_RND' cannot be saved to a MAT-file whose version is older than 7.3. To save this variable, use the -v7.3 switch. Skipping...
It would be really helpful if I get some clue about how to handle this situation(/how to use use the -v7.3 switch)for saving the aforementioned variable.
Thank you.
Tanmoy

Akzeptierte Antwort

Geoff Hayes
Geoff Hayes am 28 Jul. 2014
See save with version for usage of this command with the -v7.3 switch. Should just be able to change your above line of code to
save RNDalldata Nsamp nsensor Hom_RND Z nat_freq_RND stat_ABS_RND -v7.3
(I don't think that there is any need for the eval that you have.)

Weitere Antworten (0)

Kategorien

Mehr zu Variables finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by