MATLAB: Does the standalone MATLAB editor not display the file path name correctly in the title bar

doseditorfilefullm-editorMATLABmeditormeditor.exenamenamespathshort

I have upgraded my version of MATLAB, and now when I double click a file with a .M extension in Windows, the standalone version of the MATLAB Editor displays a DOS style file name path instead of the full path name. This only happens when opening a file outside of MATLAB.

Best Answer

The application that files with a .M extension are associated with needs to be the MATLAB Editor for the version of MATLAB you have installed. To ensure this do the following:
1. Double-click on My Computer
2. Under the Tools menu, click on Folder Options
3. Click on the File Types tab
4. Choose M extension and hit the Advanced button
Note: if the Advanced button is not available, click Restore.
5. Select the default action (the one in bold) and hit Edit
6. Ensure the entry in the Application field is:
$MATLABROOT\bin\win32\meditor.exe "%1"
where $MATLABROOT is the root directory of MATLAB as returned by the MATLABROOT command.