User`s guide

2 Installation and Configuration
Options Files
In this section...
“Locating the Options File” on page 2-12
“Changing the Options File” on page 2-13
Locating the Options File
Windows
To locate your options file on Windows, the mbuild script searches the
following locations:
Current directory
The
user profile directory (see “User Profile Directory Under Windows”
on page 2-12 for more information abo ut this directory)
mbuild usesthefirstoccurrenceoftheoptionsfileitfinds.Ifnooptionsfileis
found,
mbuild searches yo ur machine for a supported C compiler and uses
the factory default options file for tha t compiler. If mult ip le compilers are
found,youarepromptedtoselectone.
User Profile Direc tory Unde r Win dows. The Windows
user profile
directory is a directory that contains user-specific information such as
desktop appearance, recently used files, and Start menu items. The
mbuild
utility stores its options files, compopts.bat, which is created during
the
-setup process, in a subdirectory of your user profile directory,
named
Application Data\MathW ork s\MATLAB\current_release.Under
Windowswithuserprofilesenabled,your
user profile directory is
%windir%\Profiles\username. Under Windows with user profile s disabled,
your
user profile directory is %windir%. You can determine whether or not
user profiles are enabled by using the Passwords control panel.
UNIX
To locate your options file on UNIX , the mbuild script searches the following
locations:
2-12