Why do I receive a message asking me to overwrite a directory when I select the directory using the UIGETDIR function in MATLAB 7.0.4 (R14SP2) on a Linux machine?

2 views (last 30 days)
When I use the UIGETDIR function as follows:
directory = uigetdir('')
I get an error asking if I want to overwrite the directory that I have selected.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in MATLAB 7.1 (R14SP3). For previous versions of MATLAB please see below for any possible workarounds.
There is a bug in MATLAB 7.0.4 (R14SP2) in the way that the UIGETDIR function asks you to overwrite the directory that you select.
You can work around this issue by using the UIGETFILE command to get the directory path. For example:
[file,directory] = uigetfile

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R14SP2

Community Treasure Hunt

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

Start Hunting!