Block execution of a calling program as long as figures created in encapsulated MATLAB code are displayed
objName.waitForFigures();
waitForFigures()
blocks execution of a calling
program as long as figures created in encapsulated MATLAB® code
are displayed. Typically you use waitForFigures
when:
There are one or more figures open that were created by a Java® class created by the MATLAB Compiler SDK™ product.
The method that displays the graphics requires user input before continuing.
The method that calls the figures was called from main()
in
a console program.
When waitForFigures
is called, execution
of the calling program is blocked if any figures created by the calling
object remain open.
Caution
Use care when calling the |