Download MATLAB Compiler

Transcript
MATLAB® Compiler™ Limitations
Compiled applications can only run on operating systems that run MATLAB.
Also, since the MCR is approximately the same size as MATLAB, applications
built with MATLAB Compiler need specific storage memory and RAM to
operate. For the most up-to-date information about system requirements, go
to the MathWorks Web site.
To see a full list of MATLAB Compiler limitations, visit
http://www.mathworks.com/products/compiler/compiler_support.html.
Note See “MATLAB Functions That Cannot Be Compiled” on page 10-10 for
a list of functions that cannot be compiled.
Fixing Callback Problems: Missing Functions
When MATLAB Compiler creates a standalone application, it compiles the
MATLAB file(s) you specify on the command line and, in addition, it compiles
any other MATLAB files that your MATLAB file(s) calls. MATLAB Compiler
uses a dependency analysis, which determines all the functions on which
the supplied MATLAB files, MEX-files, and P-files depend. The dependency
analysis may not locate a function if the only place the function is called in
your MATLAB file is a call to the function either
• In a callback string
• In a string passed as an argument to the feval function or an ODE solver
Tip Dependent functions can also be hidden from depfun in .mat files
that get loaded by compiled applications. Use the mcc -a argument or the
%#function pragma to identify .mat file classes or functions that should be
supported by the load command.
MATLAB Compiler does not look in these text strings for the names of
functions to compile.
10-3