MATLAB: Is possible to open the MATLAB Editor as a standalone application outside MATLAB

MATLAB

When I double-click on a MATLAB file, an entire MATLAB session opens. I would like to open only the MATLAB Editor to save time, but I cannot find the Editor executable or the path to the executable.

Best Answer

The ability to use MATLAB stand-alone Editor (meditor.exe) is not available in MATLAB 7.6 (R2008a).
This has been stated in the following MATLAB documentation:
<http://www.mathworks.com/help/matlab/release-notes.html>
To workaround for this issue, open the MATLAB file using other text editor.
A MATLAB file is an ASCII text file. It can therefore be opened using any appropriate text editor, such as Notepad on a Windows platform, Vi on a UNIX platform, and TextEdit on the Mac OS X platform.
Prior to R2008a, Windows users can also launch the MATLAB standalone file editor without starting MATLAB. The executable for the stand-alone editor is
$MATLABROOT\bin\$ARCH\meditor.exe
where $MATLABROOT is the root of the MATLAB installation directory which can be obtained by running the command
matlabroot
and $ARCH is the computer architecture (for example 'win32') which can be obtained by running the command
computer('arch')
The stand-alone editor is not available in any release for Mac or UNIX platforms.