User`s guide
1 Introducing the MATLAB Compiler
1-12
Figure 1-2: Developing a Typical Stand-Alone C Application
M-File function to find the rank of a
magic square
mcc -m
C version of
M code
C Compiler
Object Files
Linker
Stand-Alone
C Application
C File Wrapper
MATLAB M-File Math Library
MATLAB Math Built-In Library
MATLAB API Library
MATLAB Utility Library
ANSI C Library MATLAB C/C++ Graphics Library
• Shaded block is user-written code.
• Shadowed blocks are tools.
• Unshaded blocks are MATLAB
Compiler-generated code.
• Dotted blocks are C/C++ compiler-generated
executables.
mbuild does
this part.