browseforfolder

版本 1.0.0.0 (515.2 KB) 作者: Ohad Gal
Enhanced dialog box for folder browsing.
4.0K 次下载
更新时间 2005/11/7

查看许可证

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.

引用格式

Ohad Gal (2024). browseforfolder (https://www.mathworks.com/matlabcentral/fileexchange/8391-browseforfolder), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R13SP1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dialog Boxes 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

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