mbuild
Compile and link source files against MATLAB generated shared libraries
Description
Use mbuild
to compile and link source files against
MATLAB® generated shared libraries.
mbuild
is called implicitly by mcc
in order to
produce C or C++ mwArray shared libraries. You can call it explicitly in order to link
additional C or C++ code with those shared libraries.
If no platform is listed, the option is available on both UNIX® and Windows®. Some of the options (-f
, -g
, and
-v
) are available on the mcc
command line and are
passed along to mbuild
. Others can be passed along using the
-M
option to mcc
. For details, see mcc -M
.
When manually integrating shared libraries generated by mcc
using the
mbuild
command, the flags should match. For instance, if -M
-R2018a
is passed to the mcc
command,
-R2018a
should be passed to mbuild
.
Any arguments to mbuild
that are not used by mbuild
itself are passed along to mex
.
mbuild [options]
compiles and links
customer written C or C++ code against MATLAB generated shared libraries. sourceFile
Examples
Input Arguments
Version History
Introduced before R2006a