User`s guide
4 Stand-Alone Applications
4-20
Linking against the C/C++ Graphics Library
Are these correct?([y]/n): y
The default options file:
"C:\WINNT\Profiles\username\
Application Data\MathWorks\MATLAB\R12\compopts.bat"
is being updated...
Installing the MATLAB Visual Studio add-in ...
Updated ...
If the specified compiler cannot be locate d, you are given the message:
The default location for <compiler-name> is <directory-name>,
but that directory does not exist on this machine.
Use <directory-name> anyway [y]/n?
Using the setup option sets your default compiler so that the new compiler is
used everytime you use the
mbuild script.
Modifying the Options File. Another use of the setup option is if you want to
chan ge youroptions file settin gs. For example ,ifyouwan tto makea change to
the current linker settings, or you want to disable a particular set of warnings,
youshouldusethe
setup option.
The
setup option copies the appropriate options file to your user profile
directory. To make your user-specific changes to the options file, you edit your
copy of the options file in your
user profile directory to correspond to y our
specific needs and save the modified file. This sets your default compiler’s
options file to your specific version. Table 4-3, Compiler Options Files on the
PC, lists the names of the PC options files included in this release of MATLAB.
If you need to see which options
mbuild passesto your compiler and linker, use
the verbose option,
-v,asin
mbuild -v filename1 [filename2 …]
to generate a list of a ll the current compiler settings used by mbuild. To change
the options, use an e dito r to make change s to your optio ns fil e t hat co rresp onds
to your compiler. You can also embed the settings obtained from the verbose