CREATING STAND-ALONE APPLICATIONS
from matlab m-files
A MathWorks utility, mbuild, provides an easy way to specify an options file that can be used to set the
compiler and linker settings, change compilers or compiler settings, switch between C and C++ development,
and build an application. The Compiler (mcc) automatically invokes mbuild under certain conditions. In
particular, mcc -m or mcc –p invokes mbuild to perform compilation and linking. To prevent mcc from
invoking mbuild automatically, the -c option can be used. For example, mcc -mc filename. On systems where
there is exactly one C or C++ compiler, the mbuild utility automatically configures itself for the appropriate
compiler. On systems where there is more than one C or C++ compiler, the mbuild utility lets you select
which of the compilers you want to use. Once a C or C++ compiler is selected, that compiler becomes the
default compiler. The user may later specify another compiler by following the same procedure.
from matlab m-files
A MathWorks utility, mbuild, provides an easy way to specify an options file that can be used to set the
compiler and linker settings, change compilers or compiler settings, switch between C and C++ development,
and build an application. The Compiler (mcc) automatically invokes mbuild under certain conditions. In
particular, mcc -m or mcc –p invokes mbuild to perform compilation and linking. To prevent mcc from
invoking mbuild automatically, the -c option can be used. For example, mcc -mc filename. On systems where
there is exactly one C or C++ compiler, the mbuild utility automatically configures itself for the appropriate
compiler. On systems where there is more than one C or C++ compiler, the mbuild utility lets you select
which of the compilers you want to use. Once a C or C++ compiler is selected, that compiler becomes the
default compiler. The user may later specify another compiler by following the same procedure.