User`s guide
Options Files
• Current directory
•
$HOME/.matlab/current_release
• matlabroot/bin
mbuild
usesthefirstoccurrenceoftheoptionsfileitfinds.Ifnooptionsfileis
found,
mbuild displays an error message.
Changing the Options File
Although it is common to use one options file for all of your MATLAB Compiler
related work, you can change your options file at anytime. The
setup option
resets your default compiler so that the new compiler is used every time. To
reset your C or C++ compiler for future sessions, use
mbuild -setup
Windows
Modifyi n g the O ptions File. You can use of the setup option to change your
options file settings on Windows. The
setup option copies the appropriate
optionsfiletoyour
user profile directory.
To modify your option s file on Windows:
1 Use mbuild -setup to make a copy of the a ppropriate op t ions file in your
local area.
2 Edit your copy of the options file in your user profile directory to
correspond to your specific nee ds and save the m odified file.
After completing this process, the
mbuild script will use the new options file
every time with your modified settings.
UNIX
The setup option creates a user-specific, matlab directory in your individual
home directory and copies the appropriate options file to the directory. (If the
directory already exists, a new one is not created.) This
matlab directory is
used for your individual options files only; each user can have his or her own
2-13