uigetdir2

Directory selection dialog box which remembers the last directory selected.
2.1K Downloads
Updated 18 Apr 2007

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Wrapper for Matlab's UIGETDIR function which adds the ability to remember the last selected directory. UIGETDIR2 stores information about the last selected directory in a mat file which it looks for when called.

Cite As

Chris Cannell (2024). uigetdir2 (https://www.mathworks.com/matlabcentral/fileexchange/9521-uigetdir2), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dialog Boxes in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Added a check for empty string passed as first argument so you can specify dialog text as the second argument and still make use of the last used directory feature. Thanks to Jonathan Erickson for the bug report.