Are there commands to close desktop windows like workspace, figure, command history?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Seetha Rama Raju Sanapala
el 24 de Mayo de 2015
Comentada: Image Analyst
el 24 de Mayo de 2015
We can close those windows using 'x' mark on the window but I want to close using commands at the prompt. Are there any commands? Of course, I know at least one command that opens a window - workspace.
0 comentarios
Respuestas (1)
Jan
el 24 de Mayo de 2015
Editada: Jan
el 24 de Mayo de 2015
Figures can be closed by the close command.
Did you try to ask your favorite internet search engine already e.g. for "Matlab close workspace browser programmatically"? You will find suggestions like:
desktop = com.mathworks.mde.desk.MLDesktop.getInstance;
desktop.closeWorkspaceBrowser;
desktop.closeCommandHistory;
desktop.closeFileBrowser;
3 comentarios
Jan
el 24 de Mayo de 2015
Editada: Jan
el 24 de Mayo de 2015
@Image Analyst: You did not know, that you can ask your favorite internet search engine for the terms of a question?
Sorry, just kidding. I'm not sure, if it is polite enough to remember users to search in the net at first. I have the impression that many people omit this very efficient step to try to solve their problem by their own. I only suggest this, because I think it is a really good help for them in the future.
Image Analyst
el 24 de Mayo de 2015
The first thing I did was to look at the workspace and filebrowser commands in the help to see if they took options such as 'on' and 'off' like so many other MATLAB function. Strangely , they do not (though for consistency they probably should). The only option is no input arguments and it assumes you want the 'on' option.
Ver también
Categorías
Más información sobre File Operations 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!