MATLAB: Do I receive a “File Not Found” error when I double-click on any files in the UIGETFILE dialog box in MATLAB 7.0.1 (R14SP1) on Mac, after I have set the LANG environment variable

10.3browsercurrentdirectoryfileimportjaguarmacMATLABpantheruiopen

I set the LANG environment variable using the following command:
setenv LANG en_us
I then use the UIGETFILE command to open a dialog box to retrieve files. After double-clicking on a file in the dialog box, MATLAB returns a "File Not Found" error.

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This is a bug in MATLAB 7.0.1 (R14SP1) in the way the UIGETFILE command interacts with the operating system when the LANG environment variable is set.
To work around this issue, you will need to insert a forward-slash (/) at the start of the file name before clicking on the "Open" button in the dialog box.