Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Running m-file within m-file
Date: Wed, 20 May 2009 18:36:01 +0000 (UTC)
Organization: Ford Motor Co
Lines: 8
Message-ID: <gv1iih$m3p$1@fred.mathworks.com>
References: <gv1i1l$jhg$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1242844561 22649 172.30.248.37 (20 May 2009 18:36:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 20 May 2009 18:36:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 35831
Xref: news.mathworks.com comp.soft-sys.matlab:541338


Yes, you can. Just type in the name of your m file in your m-script. That's it.. That's it.

"Zijia Li" <triplezzz21@gmail.com> wrote in message <gv1i1l$jhg$1@fred.mathworks.com>...
> Is it possible to run another m-file within a m-file?
> like I will run an m-file and one of the commands in that m-file is to run another m-file.
> 
> thanks
> Z