Thread Subject:
.mat files

Subject: .mat files

From: Prateek Bharadwaj

Date: 11 Jul, 2012 09:14:07

Message: 1 of 2

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.

Thank you.

Subject: .mat files

From: Steven_Lord

Date: 11 Jul, 2012 13:36:15

Message: 2 of 2



"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

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us