I've been working with Matlab ver 7.5 yesterday at home.. yeah at home....
since the toolbox of Matlab ver 6.5 at school is so limited... well..
feel kind of uneasy to show them my own ver of Matlab (you know why).. so, I was saving the workspace as usual way. Unfortunately, Matlab ver 6.5 can't read the .mat file generated. Frustrated...
After some googling... I found the way to overcome this prob.. enjoy!!
Overriding the Default MAT-File Version
To identify or change the default version, select File > Preferences > General > MAT-Files. Alternatively, specify the version as an option to the save function.
For example, to create a MAT-file named myfile.mat that you can load with MATLAB Version 6, use the following command:
save('myfile.mat', '-v6')
The possible version options for the save function include -v4, -v6, -v7, and -v7.3. For more information about the differences between previous and current MAT-file versions, see the save function reference page.
No comments:
Post a Comment