save函数保存当前工作空间的所有变量到文件名制定的文件中,此文件后缀名通常为mat。如果不指定文件名变量,则会默认保存到matlab.mat这个文件中的一种运算符法。
save函数编程编辑
SAVE Save workspace variables to disk.
SAVE FILENAME saves all workspace variables to the binary "MAT-file"
named FILENAME.mat. The data may be retrieved with LOAD. If FILENAME
has no extension, .mat is assumed.
SAVE, by itself, creates the binary "MAT-file" named 'matlab.mat'.
SAVE FILENAME X saves only X.
save主要公式编辑
-----------------+----------------------------------------------
SAVE ... -V7.3 | Version 7.3 or later
-----------------+----------------------------------------------
SAVE ... -V7 | Versions 7.0 through 7.2 (or later)
-----------------+----------------------------------------------
SAVE ... -V6 | Versions 5 and 6 (or later)
-----------------+----------------------------------------------
SAVE ... -V4 | Versions 1 through 4 (or later)
To make one of these options the default for all of your MATLAB
sessions, use the Preferences dialog box. In the MATLAB File menu,
select Preferences. Then, in the Preferences dialog box, click
General and then MAT-Files.
MATLAB Versions | Data Items or Features Supported
总之,save给大家简单的介绍了一些,希望大家多看看。