Code covered by the BSD License  

Highlights from
browseforfolder

3.0

3.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 515.15 KB File ID: #8391
image thumbnail

browseforfolder

by Ohad Gal

 

30 Aug 2005 (Updated 07 Nov 2005)

Enhanced dialog box for folder browsing.

| Watch this File

File Information
Description

This enhancement allows the user to:

1. browse using "copy-paste"
2. create a new folder from this dialog

UIBROWSEFORFOLDER Standard Windows browse for folder dialog box.

folder = uibrowseforfolder( title_str, initial_path )

   Output: folder = selected folder (empty string if dialog cancelled)
   Inputs: title_str = title string (OPTIONAL)
           initial_path = initial path (OPTIONAL, defaults to PWD)

   Examples: folder = uibrowseforfolder - default title and initial path
               folder = uibrowseforfolder('Select results folder') - default initial path
               folder = uibrowseforfolder([], 'C:\Program Files') - with no title

1. using mex function browseforfolder.dll
2. credit for "C++" code goes to Armen Hakobyan code taken from "The Code Project" at: http://www.codeproject.com/dialog/cfolderdialog.asp
3. converted to matlab mex file by Ohad Gal.

MATLAB release MATLAB 6.5.1 (R13SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
18 Apr 2006 Spencer Chen

Matlab R12 complains about missind DLLs in Win95.

Please login to add a comment or rating.
Updates
07 Nov 2005

I found out that some OS need two additional DLLs for this function to work: msvcrtd.dll and MFC42D.DLL

Tag Activity for this File
Tag Applied By Date/Time
gui tools Ohad Gal 22 Oct 2008 07:59:07
example Ohad Gal 22 Oct 2008 07:59:07
ui Ohad Gal 22 Oct 2008 07:59:07
browse Ohad Gal 22 Oct 2008 07:59:07
folder Ohad Gal 22 Oct 2008 07:59:07
utilities Ohad Gal 22 Oct 2008 07:59:07

Contact us at files@mathworks.com