User`s guide

Uses of the Compiler
1-11
See “Stand-Alone Applications” for complete details regarding stand-alone
applications.
Figure 1-2 illustrates the process of developing a typical stand-alone C
application. Use the same basic process for developing stand-alone C++
applications, but use the
-p option instead of the -m option with the MATLAB
Compiler, a C++ compiler instead of a C compiler, and the MATLAB C/C++
Math Library.
Note The MATLAB Compiler contains a tool, mbuild, which simplifies much
of this process. Chapter 4, Stand-Alone Applications,” describes the
mbuild
tool.
-p and -m are examples of options that you use to control how the Compiler
works.The“Reference chapterincludesa completedescriptionoftheCompiler
2.1 options in the section, mcc.” Throughout this book you will see numerous
examples of how these options are used with the Compiler to perform various
tasks.