How to use save function
Editor to share with you how to use the save function, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it!
The save function saves all variables from the current workspace to the file specified by the file name, which is usually suffixed to mat. If you do not specify a filename variable, it is saved to an operator method in the file matlab.mat by default.
Save function programming editing
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 main formula editing
-+-
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
The above is all the contents of the article "how to use the save function". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!