How to close editor from the command line?
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
K E
el 3 de Jun. de 2016
Comentada: Walter Roberson
el 1 de Abr. de 2019
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.
0 comentarios
Respuesta aceptada
Joseph Cheng
el 3 de Jun. de 2016
Editada: Joseph Cheng
el 3 de Jun. de 2016
you can call com.mathworks.mlservices.MLEditorServices.closeAll
you can read up all about this on the http://undocumentedmatlab.com/blog/accessing-the-matlab-editor page
incase the editor ties you up so you still cannot access the command window then try creating a start up file http://www.mathworks.com/help/matlab/ref/startup.html or move the large file from where it is so matlab "errors" when trying to load the file
Más respuestas (1)
Ver también
Categorías
Más información sobre Entering Commands en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!