User`s guide

1 Introducing the MATLAB Compiler
1-12
The MATLAB Compiler Family
This figure i llustrat es the various ways you can use t he MAT LAB Compiler.
The shaded bl ocks represent user-written code; the unshaded blocks represent
Compiler-g ene r ated code; the remaining blo cks (drop sh ad o w) r e p resent
MathWorks or oth er ve ndor tools.
Figure 1-3: MATLAB Compiler Uses
M-File(s)
MATLAB Compiler
Simulink
C MEX-File
C Code
C/C++ Compiler
Library
C++ Code
Generated Code Types
Generated Wrapper Types
MAIN
MEX
LIB
Simulink
1
2
3
4
3
Stand-Alone
C/C++ Program
MATLAB
C MEX-File
1 2 3 4
User C/C++ Code
MATLAB C/C++
Math Library
Target Types
1