Why does the standalone MATLAB editor not display my file path name correctly in the title bar?

1 view (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 20 Jan 2010
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.

More Answers (0)

MathWorks Support

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!