| MATLAB Compiler | ![]() |
Setting Up Default Options
If you have some command line options that you wish always to pass to mcc, you can do so by setting up an mccstartup file. Create a text file containing the desired command line options and name the file mccstartup. Place this file in one of two directories:
$HOME/.matlab/R14 on UNIX, <system root>\profiles\<user>\application data\mathworks\matlab\R14 on Windows)
mcc searches for the mccstartup file in these two directories in the order shown above. If it finds an mccstartup file, it reads it and processes the options within the file as if they had appeared on the mcc command line before any actual command line options. Both the mccstartup file and the -B option are processed the same way.
| Compiler Options | Using Macros to Simplify Compilation | ![]() |
© 1994-2005 The MathWorks, Inc.