MATLAB Answers

Open Matlab editor while running from command line

조회 수: 10(최근 30일)
Ben Southworth
Ben Southworth 2020년 4월 29일
편집: Steven Lord 2021년 5월 2일
I typically run Matlab on Mac (catalina) in the terminal, by calling matlab -nodesktop. In previous versions/installations of Matlab, I could open an .m file and it would open the Matlab editor, but run/debug through terminal. At some point when upgrading, this stopped working. Now if I am running Matlab in command line and open a .m file, a whole new Matlab application opens up witht he full GUI interface. How do I stop this behavior/only open .m files in an editor when Matlab is already running?

답변(1개)

Steven Lord
Steven Lord 2021년 5월 2일
편집: Steven Lord 2021년 5월 2일
We stopped shipping the standalone editor quite some time ago, long enough that I can't find it in the Release Notes. It's probably been at least a decade.
Edited to add: I checked an older installation's documentation. The standalone editor was removed in release R2008a.

Community Treasure Hunt

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

Start Hunting!

Translated by