| Version 1.0 |
Requires MATLAB
6.0 (R12) or later |
|
|
|
Browse
for a folder via a GUI (PC-Windows only).
Similar
to the built-in MATLAB uigetfile
function, but browses for (and returns) a folder name
rather than a file name.
|
|
| File
format: |
mex-file |
|
Editable
source code:
|
no
|
| Utilises
non-editable functions: |
yes
(Windows API dll's) |
|
Platform:
|
PC/Windows
|
| Required
MATLAB Toolboxes: |
none
(except core MATLAB) |
| Demo
version limitations: |
none
(except for displaying of demo banner) |
|
|
|
| |
pathname=winuigetfolder;
|
| |
pathname=winuigetfolder(Subtitle); |
|
|
|
| Input: |
| Subtitle |
[Optional] string containing desired text to be placed
as a subtitle within the "Browse for folder"
window.
|
|
| Output: |
| pathname |
string
containing full path of the folder selected via the
GUI. Returns an empty string if the user selects "Cancel"
within the browser.
|
|
|
|
|
This
function is implemented as a mex function (Windows
DLL) called winuigetfolder.dll.
The accompanying winuigetfolder.m
file simply contains the help comments for access
via the usual MATLAB 'help' command.
|
|
|
|
|
|
|
|
|
Open a folder-browsing GUI with default subtitle, return
chosen path (after user action): |
| |
myfolder=winuigetfolder; |
| |
|
| Same
as before but using specified text as subtitle to appear
in folder-browsing GUI: |
| |
myfolder=winuigetfolder('Please
choose a folder'); |
|