Error in saving results

조회 수: 1 (최근 30일)
tanmoy
tanmoy 2014년 7월 28일
답변: Geoff Hayes 2014년 7월 28일
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