Error in saving results

1 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Performance and Memory 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by