Voici quelques lignes de commandes de geek testées en R2011b et R2013b (utiles ou pas qu’importe ce sont des commandes de geek !!) :
%% Close Editor
com.mathworks.mlservices.MLEditorServices.getEditorApplication.close
%% Hide Command window
d = com.mathworks.mde.desk.MLDesktop.getInstance;
cmdw = d.getClient(‘Command Window’);
% hide command window
cmdw.hide
% show it
cmdw.show
%% Close Web page
web(‘http://blog.developpez.com/matlab4geek/’);
com.mathworks.mlservices.MatlabDesktopServices.getDesktop.closeGroup(‘Web Browser’)
%% Show preferences
com.mathworks.mlservices.MLPrefsDialogServices.showPrefsDialog
%% Clean Command History
com.mathworks.mlservices.MLCommandHistoryServices.removeAll