Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
uigetdir

Subject: uigetdir

From: Lester

Date: 5 Oct, 2007 04:11:39

Message: 1 of 3

Is there any function same as uigetdir for R12.1 of MATLAB
that will also work with higher versiob Releases of MATLAB?

Thanks.

Subject: uigetdir

From: Yair Altman

Date: 5 Oct, 2007 06:03:50

Message: 2 of 3

"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

Subject: uigetdir

From: Yair Altman

Date: 5 Oct, 2007 08:45:37

Message: 3 of 3

"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?


If you're using Windows, you can also use UIGETFOLDER from
the File Exchange that works on R12:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=1033

It's actually one of the best-reviewed FEX submissions.

Yair Altman
http://ymasoftware.com

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us