MATLAB Compiler    

Chapter 7
Reference


This chapter provides reference information for the MATLAB Compiler pragmas, functions, and command line tools.

Pragmas

%#external
Call arbitrary C/C++ functions.
%#function
feval pragma.
%#mex
Prefer the MEX-file over an existing M-file.

Functions

mbchar
Impute char matrix.
mbcharscalar
Impute character scalar.
mbcharvector
Impute char vector.
mbint
Impute integer.
mbintscalar
Impute integer scalar.
mbintvector
Impute integer vector.
mbreal
Impute real.
mbrealscalar
Impute real scalar.
mbrealvector
Impute real vector.
mbscalar
Impute scalar.
mbvector
Impute vector.
reallog
Natural log.
realpow
Array power function.
realsqrt
Square root.

Command Line Tools
mbuild
Customize building and linking.
mcc
Invoke MATLAB Compiler.
MATLAB Compiler Options Flags
Introduces Compiler options.
Macro Options
Simplify basic compilation tasks.
Code Generation Options
Control Compiler output.
Optimization Options
Improves the performance of the generated C/C++ code.
Compiler and Environment Options
Control Compiler behavior.
mbuild/mex Options
Control mbuild and mex.


 Reference Pragmas