Path: news.mathworks.com!newsfeed-00.mathworks.com!solaris.cc.vt.edu!news.vt.edu!news.glorb.com!postnews.google.com!l34g2000vba.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: "Change directory" dialog box
Date: Wed, 7 Oct 2009 11:23:47 -0700 (PDT)
Organization: http://groups.google.com
Lines: 18
Message-ID: <021bf50b-6fc8-40fe-978f-ae9f9e0b1a5d@l34g2000vba.googlegroups.com>
References: <haidoe$mjn$1@fred.mathworks.com>
NNTP-Posting-Host: 66.161.205.234
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1254939827 29314 127.0.0.1 (7 Oct 2009 18:23:47 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 7 Oct 2009 18:23:47 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: l34g2000vba.googlegroups.com; posting-host=66.161.205.234; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
	CyberSafe-IWA-Enable; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MS-RTC LM 8; 
	.NET CLR 3.0.04506.648; .NET CLR 3.5.21022),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:575675


On Oct 7, 11:57 am, "Andre Brito" <andre_brit...@hotmail.com> wrote:
> Hello,
>
> is there any way (other than adding a line of code in every file) to set the MATLAB preferences such that the default behavior for running m-files is to change the current directory to the directory where the file is located ?
>
> The dialog that appear has the options "Change Directory", "Add to Path", "Cancel", and "Help".
>
> Thanks,
> Andr

---------------------------------------------------------------
No there is not.  This is something I've brought up with them before,
and will reiterate when I meeti with their developers later this
month.  It would be a big convenience.  I keep hoping.