Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: uigetdir
Date: Fri, 5 Oct 2007 06:03:50 +0000 (UTC)
Organization: TACT Computer Systems Ltd
Lines: 17
Message-ID: <fe4k46$el9$1@fred.mathworks.com>
References: <fe4dhr$cqd$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 1191564230 15017 172.30.248.37 (5 Oct 2007 06:03:50 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 5 Oct 2007 06:03:50 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642467
Xref: news.mathworks.com comp.soft-sys.matlab:431431



"Lester " <aoLv3r6@gmail.com> wrote in message
<fe4dhr$cqd$1@fred.mathworks.com>...
> Is there any function same as uigetdir for R12.1 of MATLAB 
> that will also work with higher versiob Releases of MATLAB?
> 
> Thanks.


I'm not sure if the javacomponent function was available
back in 12.1, but if so then you can use it with the
javax.swing.JFileChooser java class. See the screenshot here
for an example:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=14583

Yair Altman
http://ymasoftware.com