mclKillAllFigures - Finds and deletes open figures
Syntax
Description
This function uses the same internal algorithm to locate open
figures as mclWaitForFiguresToDie.
Typically you use mclKillAllFigures when
you need to kill figures that are being displayed as the result of
a programming problem, such as an endless loop. Alternately, you might
use it to ensure all figures are closed before the execution of another
application.
Examples
Following are three alternate ways of using mclKillAllFigures to
terminate three figures displayed by shared library calls to showknot(),showpeak(),
and showbottle().
showknot();
showpeak();
showbottle();
mclKillAllFigures((HMCRINSTANCE)0);
showknot();
showpeak();
showbottle();
mclKillAllFigures(0);
showknot();
showpeak();
showbottle();
mclKillAllFigures(NULL);
See Also
mclWaitForFiguresToDie
Terminating Figures by Force with the mclKillAllFigures Method
 | mclIsNoDisplaySet | | mclSetCmdLineUserData |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit