Code covered by the BSD License  

Highlights from
uigetfolder

5.0

5.0 | 13 ratings Rate this file 12 Downloads (last 30 days) File Size: 5.04 KB File ID: #1033

uigetfolder

by Neil Rutland

 

08 Nov 2001 (Updated 13 Nov 2001)

Windows browse for folder dialog box.

| Watch this File

File Information
Description

Editor's Note: A similar function named UIGETDIR will be included in MATLAB R13.

The function runs the standard Windows browse for folder dialog box. The wrapper M-file UIGETFOLDER calls a MEX file uigetfolder_win32.dll, that
handles the Win32 API stuff.

The C-MEX function uigetfolder_win32 was compiled in MATLAB Version 6.0.0.88 (R12) using the built in Lcc 2.4 compiler.

The function has been tested in MATLAB Version 6.0.0.88 (R12).

The dialog is now modal, unlike the previous version for R11.1.

It is now possible to use the C-MEX function with the MATLAB compiler (R12), and it runs in standalone executables. To build an example standalone
executable use

   mcc -m

uigetfolder_win32_compiler_test.m To use the wrapper uigetfolder you must use the special standalone version
UIGETFOLDER_STANDALONE and have the C/C++ Graphics Library. You can build
a simple example with

  mcc -B sgl

uigetfolder_compiler_test.m

MATLAB release MATLAB 6.0 (R12)
Other requirements PC platform only
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (14)
06 Mar 2002  
11 Sep 2002 Nanne van der Zijpp

Equally useful to Matlab's 'uigetdir' function, but unlike uigetdir, this function can be packaged in stand alone executables using the Matlab compiler

11 Feb 2003 Martin Roempert

Is also working with R13 and Matlab compiler 3.0 as Stand-Alone-Application

24 Apr 2003 John Douglas

This subroutine got me out a hole when I was trying to compile a program that uses uigetdir.

19 Aug 2003 David Abraham

Very useful, better interface than uigetdir (system function) in that you can use keyboard arrow keys to quickly navigate.

23 Oct 2003 David Wagener

Great program. Saved me a bunch of time. Thanks!!

08 Mar 2004 Holovate Nicolae  
08 Mar 2004 Holovate Nicolae  
07 May 2004 martyn dorey

Absolutely brilliant. This is a key tool for building distributable user interfaces.

08 May 2004 MRI ONT

Can You submit the win32 api stuff (c or cpp code)?

17 Sep 2004 Jocke R

Works great!

23 Mar 2006 Chronobio Lab

Took me a few minutes to realize that it is the uigetfolder_standalone() function that has to be used in your m code to be compiled! (should have read you note)
Works great - thanks.

18 Apr 2006 Spencer Chen

Is there a way to add a "New directory" button/function like the native Windows directory browser?

16 Aug 2007 Bryan C

Great! thank you!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
gui tools Neil Rutland 22 Oct 2008 06:39:07
example Neil Rutland 22 Oct 2008 06:39:07
gui Neil Rutland 22 Oct 2008 06:39:07
select Neil Rutland 22 Oct 2008 06:39:07
folder Neil Rutland 22 Oct 2008 06:39:07
folders Neil Rutland 22 Oct 2008 06:39:07
directory Neil Rutland 22 Oct 2008 06:39:07
directories Neil Rutland 22 Oct 2008 06:39:07

Contact us at files@mathworks.com