Error in saving results

2 views (last 30 days)
tanmoy
tanmoy on 28 Jul 2014
Answered: Geoff Hayes on 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

Accepted Answer

Geoff Hayes
Geoff Hayes on 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.)

More Answers (0)

Categories

Find more on Variables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!