MATLAB: Am I unable to open a file with a space in its name from the Visual Directory in MATLAB 7.0 (R14)

directoryfilenameMATLABspacevisual

I have a file with a space in its name, such as "my filename.m". I am able to open this file by double-clicking on it in a Windows Explorer window, or by right- or double-clicking in the Current Directory Browser. However, when using the Visual Directory Browser, I receive dialog boxes stating the following:
File my.m does not exist
File filename.m does not exist

Best Answer

Files with spaces in their names cannot be accessed by the Visual Directory. The command executed when openning files by this method is something like
edit my filename
MATLAB interprets this command as an attempt to edit two files, 'my.m' and 'filename.m'. Although using spaces in a filename is allowed by the Windows operating system, the use of files with spaces in their names is not supported in MATLAB. See the following Related Solution 1-15YJ2 for more information.