Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Create setup m-file
Date: Thu, 30 Jul 2009 14:00:19 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 6
Message-ID: <h4s91j$p6e$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1248962419 25806 172.30.248.38 (30 Jul 2009 14:00:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 30 Jul 2009 14:00:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1917368
Xref: news.mathworks.com comp.soft-sys.matlab:559630


I would like to create a m-file (setup.m), that will be located in the default matlab directory.
When I execute "setup" it must find on the pc a folder "MyApp" and add its path with all its subfolders to matlab search path, so I can run my matlab application without going on File - Set Path men?.

It is possible ? how ?

Thanks in advance.