Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Why am I unable to select a directory in the "browse directory" dialog displayed by the UIGETDIR function?

Asked by MathWorks Support Team on 27 Jun 2009

On my Linux machine, I am unable to select any of the directories in the directory selection dialog displayed by the UIGETDIR function. When I click the 'OK' button, I receive the following error message:

 
 File does not exist.

0 Comments

MathWorks Support Team

Products

1 Answer

Answer by MathWorks Support Team on 27 Jun 2009
Accepted answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:

There is a bug in MATLAB 7.0 (R14) related to the system's locale, as specified by the LANG environment variable.

To workaround this issue you need to set the LANG environment variable. To do this, unset LANG by running the following command at the tcsh or csh shell prompt before launching MATLAB:

unsetenv LANG

If using the bash shell, type the following command at the shell prompt before launching MATLAB:

unset LANG

Note that you can also work around this issue either by typing the filename in the Selection field of the Open File dialog, or by double-clicking on files within the MATLAB Current Directory browser.

0 Comments

MathWorks Support Team

Contact us