User`s guide

B Error and Warning Messages
Error: File: filename Line: # Column: # A variable cannot be made
storageclass1 after being used as a storageclass2. You cannot change
a variable’s storage clas s (global/local/persistent). Even thoug h MATLAB
allows this type of change in scope, MATLAB Compiler does not.
Error: Found illegal whitespace character in command line option:
"string". The strings on the left and right side of the space should
be sepa rate arguments to MCC. For example:
mcc('-m', '-v', 'hello')% Correct
mcc('-m -v', 'hello') % Incorrect
Error: Improper usage of option -optionname. Type "mcc -?" for
usage information. Yo u have incorrectly us ed a MATLAB Compiler option.
For more information about MATLAB Compiler options, see Chapter 10,
“Functions By Category”, or type
mcc -? at the command prompt.
Error: libraryname library not found. MATLAB has been installed
incorrectly.
Error: No source fil es were specified (-? for h el p). You mu st p rov ide
MATLABCompilerwiththenameofthesourcefile(s)tocompile.
Error: "optionname" is not a valid -option option argument. You must
use an argument that corresponds to the option. For example:
mcc -W main ... % Cor rect
mcc -W mex ... % Incorrect
Error: Out of memory. Typically, this message occurs becaus e M ATLAB
Compiler requests a larger segment of memory from the o pe rating system
than is currently available. Adding additional memory to your system could
alleviate this problem.
Error: Previous warning treated as error. When you use the
-w error
option, this error appears immediately after a warning message.
B-4