Download mcc - Parent Directory

Transcript
C
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 class (global/local/persistent). Even though 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 separate 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. You have incorrectly used a MATLAB Compiler option.
For more information about MATLAB Compiler options, see Chapter 12,
“Function Reference”, or type mcc -? at the command prompt.
Error: libraryname library not found. MATLAB has been installed
incorrectly.
Error: No source files were specified (-? for help). You must provide
MATLAB Compiler with the name of the source file(s) to compile.
Error: "optionname" is not a valid -option option argument. You must
use an argument that corresponds to the option. For example:
mcc -W main ... % Correct
mcc -W mex ... % Incorrect
Error: Out of memory. Typically, this message occurs because MATLAB
Compiler requests a larger segment of memory from the operating system
than is currently available. Adding additional memory to your system can
alleviate this problem.
Error: Previous warning treated as error. When you use the -w error
option, this error appears immediately after a warning message.
Error: The argument after the -option option must contain a colon.
The format for this argument requires a colon. For more information, see
Chapter 12, “Function Reference”, or type mcc -? at the command prompt.
C-4