3.0

3.0 | 1 rating Rate this file 128 downloads (last 30 days) File Size: 515.15 KB File ID: #8391

browseforfolder

by Ohad Gal

 

30 Aug 2005 (Updated 07 Nov 2005)

Code covered by BSD License  

Enhanced dialog box for folder browsing.

Download Now | 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)
Zip File Content  
Other Files browseforfolder.dll,
uibrowseforfolder.m,
msvcrtd.dll,
MFC42D.DLL
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
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com