[1] save(filename) saves all variables from the current workspace in a MATLAB® formatted binary file (MAT-file) called filename.
[3]
diary function use to keep an activity log of your session. ti will
creates a verbatim copy of your MATLAB session in a disk file which
not include graphics , audio file whereas save command used to keep
any or all the variables in the current workspace to a MAT-file
(.mat) because the workspace workspace clears When you quit MATLAB
and if you want save and reuse just by loading the saved
MAT-file.
Matlab Exercise #1 Syntax of MATLAB The Problem-Solving Tool for Engineers, High-Performance Nu...