User`s guide

Coding with M-Files Only
4-33
Figure 4-2: Building Two M-Files into a Stand-Alone C Application
mrank.m
mcc -t mrank.m
mrank.c
C Compiler
Object File
C Compiler
Object File
Linker
Stand-Alone
C Application
main_main.c
mcc -W main -t main
main.m
main.c
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 blocks are user-written code.
Shadowed blocks are tools.
Unshaded blocks are MATLAB
Compiler-generated code.
Dotted block s are C/C++
compiler-generated executable.
mbuild does
this part.