User`s guide
2 Installation and Configuration
mbuild -setup
Using the 'mbuild -setup' command selects an options file that is
placed in ~/.matlab/
current_release and
used by default for 'mbuild'. An options file in the current
working directory or specified on
the command line overrides the default options file
in ~/.matlab/
current_release.
Options files control which compiler to use, the compiler
and link command options, and the run time libraries to link against.
To override the default options file, use the 'mbuild -f'
command (see 'mbuild -help' for more information).
The options files available for mbuild are:
1: matlabroot/bin/mbui ldop ts.sh :
Build and link with MATLAB C-API or MATLAB Compiler-generated
library via the system ANSI C/C++ compiler
matlabroot/bin/mbuildopts.sh i s being copied to
/home/user/.matlab/
current_release/mbuildopts.sh
The preconfigured options file that is included w ith MATLAB for UNIX is
mbuildopts.sh, wh i ch uses the system native ANSI compiler f or Sola ris
and
gcc for Linux and Macintosh.
2-10