User`s guide
B Error and Warning Messages
B-8
Error: Improper usage of option
-optionname
. Type "mcc -?" for usage information. You
have incorrectly used a Compiler option. For more information about Compiler
options, see the section, “MATLAB Compiler Option Flags,” in Chapter 7 or
type
mcc -? at the command prompt.
Error: "
languagename
" is not a known language. The diale ct option w as give n a
language argument for which there is no support yet. For example,
mcc -m -D japanese sample.m % Correct
mcc -m -D german sample.m % Incorrect
Error:
libraryname
library not found. MATLAB has b een installed incorrectly.
Error: MEX-File "
mexfilename
" cannot be compiled into P-Code. Only M-files can be
compiled into P-code; MEX-files cannot be compiled into P-code.
Error: No source files were specified (-? for help). You must provide the Compiler
withthenameofthesourcefile(s)tocompile.
Error: On UNIX, the name of an MLIB-file must begin with the letters "lib". '
filename
' does not
adhere to this rule.
The mlib f ile s pecif ied on the command line does not start
with the le tters “lib” and the f ile b eing compiled use s proce du res i n t hat
library.
Error: "
optionname
" is not a valid -
option
option argument. You must use a n
argument that corresponds to the option. Fo r example,
mcc -L Cpp … % Correct
mcc -L COBOL … % Incorrect
Error: Out of memory.
Typically, t his message occurs beca use the Compiler
requests a larger segment of memory from the operating system than is
currently availa ble. Ad ding ad diti ona l me mory t o yo ur sys tem could alleviat e
this problem .
Error: Previous warning treated as error. When you use the -w error option, this
error displays immediately after a warning message.
Error: The argument after the -
option
option must contain a colon. The format for this
argument requires a colon. F or more information, see “MATLAB Compiler
Option Flags,” in Chapter 7 or t ype
mcc -? at the command prompt.