User`s guide

R2013a
5-4
Removal of Handle Graphics support under -nojvm startup option
When you start MATLAB with the -nojvm startup option, Handle Graphics
®
functionality is not supported. (The -nojvm option is available for UNIX
®
platforms; see
background information on the matlab (UNIX) reference page.)
Some aspects of MATLAB and related products use Handle Graphics in a way that
might not be obvious. This includes anything that is based on or works using figures in
MATLAB. Here is a summary of the affected features:
Creating figures and performing plotting tasks, such as using the plot, axes,
getframe, and gcf functions.
Printing figures and using related functions such as print, hgexport, and saveas.
Creating GUIs in MATLAB using GUI-building functions such as warndlg.
Using Simulink scopes and printing Simulink models.
If you use the -nojvm startup option and use Handle Graphics functionality, MATLAB
produces an error.
Compatibility Considerations
To avoid the error, start MATLAB without the -nojvm startup option:
If you have been using the -nojvm startup option to work in a command line
environment or because you do not use the MATLAB desktop, use the -nodesktop
startup option instead.
If you have been using the -nojvm startup option because of memory or performance
benefits, look for other ways to gain those improvements when you start MATLAB
without the -nojvm option. See topics in Performance and Memory.
If you want to continue to use the -nojvm startup option, remove the code that is now
producing the warnings.
-noFigureWindows startup option suppresses figures on Linux and
Mac platforms
When you start MATLAB with the -noFigureWindows startup option, MATLAB
disables the display of figure windows.