Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Create setup m-file
Date: Fri, 31 Jul 2009 07:56:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <h4u82j$mcj$1@fred.mathworks.com>
References: <h4s91j$p6e$1@fred.mathworks.com> <h4te5r$57b$1@fred.mathworks.com> <c6abdb05-a995-4840-b8a2-f42004658646@x25g2000prf.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1249026963 22931 172.30.248.35 (31 Jul 2009 07:56:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 31 Jul 2009 07:56:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1917368
Xref: news.mathworks.com comp.soft-sys.matlab:559844


TideMan <mulgor@gmail.com> wrote in message <c6abdb05-a995-4840-b8a2-f42004658646@x25g2000prf.googlegroups.com>...
> On Jul 31, 12:34 pm, "Matt Fig" <spama...@yahoo.com> wrote:
> > Why not just add your folder to the path once and for all?  There is no need to do it every time.  Go to File>Set Path
> 
> Matt has answered one aspect of your post, but another is that if you
> create a file called startup.m and put it in the Matlab work
> directory, that file will be executed everytime you run Matlab.
> I have lots of stuff in my startup.m, including: cd to my Matlab
> directory, default plotting options, setting random seeds, warning
> off's, etc.

I need to use the application in different Pc, so in different directory in each PC.
So I'm searching for a method that allow me to add the paths of application with a single command. 
Otherwise i need to create different startup.m or pathdef.m for the different PC, that is the thing that I would like to automate.