How to close editor from the command line?
Show older comments
I accidentally opened a huge file in the editor and it won't close, and when I restart Matlab the editor reopens the huge file. Is there a way to close the editor from the Matlab prompt? If it matters, I have several mfiles open in different tabs of the editor, but fine to close them all.
1 Comment
jessupj
on 3 Mar 2025
do we have an update to this for 2022ish and later versions?
>> com.mathworks.mlservices.MLEditorServices.closeAll
Unrecognized function or variable 'closeAll'.
Accepted Answer
More Answers (1)
Steven Lord
on 4 Jun 2016
1 vote
Categories
Find more on Debugging and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!