Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!c3g2000yqd.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: "Change directory" dialog box
Date: Fri, 9 Oct 2009 09:45:48 -0700 (PDT)
Organization: http://groups.google.com
Lines: 31
Message-ID: <3b8255ac-f7ba-4247-b877-3a98da564c7d@c3g2000yqd.googlegroups.com>
References: <haidoe$mjn$1@fred.mathworks.com> <hal2l8$25f$1@fred.mathworks.com> 
	<hang26$11e$1@fred.mathworks.com> <hanist$p3$1@fred.mathworks.com> 
	<hanns5$gmi$1@fred.mathworks.com>
NNTP-Posting-Host: 192.44.136.113
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1255106749 10182 127.0.0.1 (9 Oct 2009 16:45:49 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 9 Oct 2009 16:45:49 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: c3g2000yqd.googlegroups.com; posting-host=192.44.136.113; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-Via: 1.1 bdci2px (NetCache NetApp/6.0.7)
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:576282


On Oct 9, 12:20 pm, "Andre Brito" <andre_brit...@hotmail.com> wrote:
> "Jan Simon" <matlab.THIS_Y...@nMINUSsimon.de> wrote in message <hanist$p...@fred.mathworks.com>...
> > So I think, I did not understand, when you want to change the directory.
>
> > What do you mean by "running m-files"?
>
> > Do you mean the behaviour of the Run-Button from the editor? Then the change of the directory happens only once at pressing the button.
> > I meant the currently running M-file, which is a completely different story.
>
> > Kind regards, Jan
>
> Yes, I meant the the run-button in the editor! Sorry about the mix up.
>
> Andre

-------------------------------------
Well for me, I'd just as soon have it change directory immediately
upon selecting the m-file that you're going to work with.  So you
click on the filename in the "task bar" (or whatever you call it) and
the code window switches to the code for that m-file, and then I'd
like it to change the current folder right then - why wait until you
run it (by clicking on the green triangle).  If you changed only after
you ran it, then you have this intermediate state where the displayed
code and the current folder don't match.  Then after you click "run"
they do match.  So I don't want the discrepancy of having different
current folders when looking at some code, depending on whether I ran
the code or not.