MATLAB: 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

7.0.4errorlinuxMATLABoverwriteuigetdir

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.

Best Answer

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