Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB Compiler   

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS