I had saved a *.mat file in Windows Vista MATLAB installation.
Now, I want to open this *.mat file in Windows XP MATLAB installation.
But when i try opening this *.mat file in Windows XP MATLAB installation, it gives me following error
load('-mat','Train2003')
??? Error using ==> load
Unable to read MAT-file C:\MATLAB7\work\libsvm-mat-2.87-1\Train2003.mat: not a binary MAT-file.
Anyone with ideas. Please help me out how to load this Train2003.mat file in Windows XP MATLAB installation.
Amogh Rajanna
Subject: How to load a *.mat file in Windows XP, if the *.mat file was saved in Windows Vista
> The version on Windows Vista was 7.4.0 (R2007a)
> The version on Windows XP was 7.0.0 (R14) 2004
The problem may be that the older version of Matlab cannot read these files saved in a newer version. I have both Vista and XP running 2007a and there is no compatibility issues at all.
If, in 2007a, you type:
help save
you will see that there is a switch
save filename -v7
in 2007a which allows a saved file to be read in version 7. You will have to use this switch in 2007a to load the file in 7.0
Subject: How to load a *.mat file in Windows XP, if the *.mat file was saved in Windows Vista
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.