Block execution of a calling program as long as figures created in encapsulated MATLAB code are displayed
waitForFigures() blocks execution of a calling
program as long as figures created in encapsulated MATLAB® code
are displayed. Typically you use
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.
waitForFigures is called, execution
of the calling program is blocked if any figures created by the calling
object remain open.
Use care when calling the
Calling this method from an interactive program like Microsoft®
hang the application. Call this method only from