User`s guide
Compile-Time Errors
B-9
Error: The environment variable MATLAB must be set to the MATLAB root directory. On
UNIX, the
MATLAB and LM_LICENSE_FILE variables must be set. The mcc shell
script does this automatically when it is called the first time.
Error: The file
filename
cannot be written. When generating an mlib file, the
Compiler cannot write out the
mlib file.
Error: The license manager failed to initialize (error code is
errornumber
). You do not
have a valid Compile r lic ense or no addi tio n al Compil er licenses are avail able.
Error: The option
-option
is invalid in
modename
mode (specify -? for help). The specified
option is not available.
Error: The option
-option
must be immediately followed by whitespace (e.g.
"
proper_example_usage
"). These options require additional information, so they
cannot be combined.
-A, -B, -d, -f, -F, -I, -L, -M, -o, -T, -u, -W, -x, -y, -Y, -z.
For example, you can use
mcc -vc, but you cannot use
mcc -Ac annotation:all.
Error: The options specified will not generate any output files.
Please use one of the following options to generate an executable output file:
-x (generates a MEX-file executable using C)
-m (generates a stand-alone executable using C)
-p (generates a stand-alone executable using C++)
-S (generates a Simulink MEX S-function using C)
-B sgl (generates a stand-alone graphics library executable using C (requires the SGL))
-B sglcpp (generates a stand-alone graphics library executable using C++ (requires the SGL))
-B pcode (generates a MATLAB P-code file)
Or type mcc -? for more usage information.
Use one of these options or another
option that generates output file(s). See the section, “MATLAB Compiler
Option Flags,” in Chapter 7 or type
mcc -? at the command prompt for more
information.
Error: The specified file "
filename
" cannot be read. Ther e is a problem with your
specifie d file. For e x ample , t he f ile is not read ab le because t here is no read
permission.