|
"Prateek Bharadwaj" <29prat10@gmail.com> wrote in message
news:jtjg4v$nri$1@newscl01ah.mathworks.com...
> Hi There,
>
> Could anyone of you please explain it to me how to save parts of a code or
> variables in a code as .mat files and use them later, please.
MAT-files are data files; you don't save code in them.
Take a look at the SAVE function to save data to a MAT-file and the LOAD
function to load data from a previously created MAT-file.
If you're looking to modify pieces of variables in MAT-files, and you're
using release R2011b or later, take a look at MATFILE.
http://www.mathworks.com/help/techdoc/rn/bs10plx-1.html#bs10ply-2
help save
help load
help matfile
--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com
|