The mbuild utility
compiles and links applications that integrate MATLAB® generated
shared libraries. Its options file specifies the compiler and linker
settings used to build the application.
By default, the mbuild utility
selects the appropriate compiler using preset default configuration.
To change the options used by the mbuild utility:
Use mbuild -setup to make a copy of
the appropriate options file in your preferences folder.
You can determine the path to the user preference folder using
the MATLAB prefdir function.
Edit your copy of the options file to correspond to your specific needs, and save the modified file.