close_neuroelf_gui_after_clear_classes
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | close_neuroelf_gui_after_clear_classes [2011/04/28 16:37] (current) – created jochen | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== How to close the NeuroElf GUI after clearing everything ====== | ||
+ | |||
+ | ===== Motivation ===== | ||
+ | Sometimes you accidentally enter | ||
+ | |||
+ | <code matlab clearclasses.m> | ||
+ | |||
+ | which then, inadvertently, | ||
+ | |||
+ | ===== Solution ===== | ||
+ | To get a true fresh start, you first need to close the GUI (without invoking any further callbacks). To do so, enter | ||
+ | |||
+ | <code matlab clearfiguresandclasses.m> | ||
+ | xfig = xfigure; | ||
+ | |||
+ | % then delete all objects without further ado | ||
+ | xfig.DeleteAllFigures; | ||
+ | |||
+ | % and *then* get a fresh start | ||
+ | clear classes;</ | ||
close_neuroelf_gui_after_clear_classes.txt · Last modified: 2011/04/28 16:37 by jochen