User`s guide

Limitations About What May Be Compiled
For more information on specifying the value of a callback, see Specifying
the Value of Callback F unction Properties in the MATLAB Programming
documentation.
Using the -a Option. Instead of u sing the
%#function pragma, you can
specify the name of the missing M-file on MATLAB Compiler command line
using the
-a option.
Finding Missing Functions in an M-File
To find functions in your application that may need to be listed in a
%#function pragma, search your M-file source cod e for text strings specified
as callback strings or as arguments to the
feval, fminbnd, fminsearc h, funm,
and
fzero functi on s or any ODE solvers.
To find text strings used as callback strings, search for the characters
“Callback” or “fcn” in your M-file. This will find all the
Callback properties
defined by Handle Graphics
®
objects, such as uicontrol and uimenu.In
addition, this will find the properties of figures and axes that end in
Fcn,such
as
CloseRequestFcn, that a lso support callbacks.
Suppressing Warnings on UNIX
Several warnings may appear when you run a standalone application on
UNIX. This section describes how to suppress these warnings.
To suppress the
app-defaults warnings, set XAPPL RESD IR to point to
<mcr_root>/<ver>/X11/app-default s.
To suppress the
libjvm.so warning, make sure you set the dynamic library
path properly for your platform. See “Directories Required for Run-Time
Deployment” on page 9-5.
You can also u se M ATLAB Co mpiler option
-R -nojvm to set your
application’s
nojvm run-time option, if the application is capable of running
without Java.
Cannot Use Graphics with the -nojvm Option
If your program uses graphics and you compile with the -nojvm option, y ou
will get a run-tim e error.
12-5