Matlab Warning:变量不能保存为mat文件
问题描述
使用save函数保存mat文件的时候,matlab错误提示:
Warning: Variable ‘a’ cannot be saved to a MAT-file whose version
is older than 7.3.
To save this variable, use the -v7.3 switch.
Skipping…
问题解决
产生这个问题的原因是存储的变量较大,需要用到Version 7.3 来保存才可以。
点击设置Preferences。选择MATLAB > General > MAT-Files.
选择第一个选项:Matlab Version 7.3 or later(save -v7.3)。
附带:MAT-File Versions的比较