User`s guide

Warning Messages
B-15
Warning: File: filename Line: # Column: # The second output argument from the
"functionname" function is only available in MEX mode. A run-time error will occur if this code
is executed in stand-alone mode.
(unix_dos_second_argument) The DOS command
can be called with two output arguments. That form cannot be compiled in
stand-alone mode. This warning occurs if the DOS command was called with
two output arguments in a file that is being compiled in stand-alone mode. For
example:
[r, s] = dos('ls'); % Causes a warning when compiling stand-alone
Warning: File: filename Line: # Column: # This load (save) statement referred to variable
"variablename" that was not referenced in the function.
(load_save_unreferenced)
This warning occurs if a variable is loaded (saved) via a
load (save) command,
but then does not occur elsewhere in scope.
Warning: File: filename Line: # Column: # Unmatched "end". (end_without_block) The
end statement does not have a corresponding for, while, switch, try, or if
statement.
Warning: File: filename Line: # Column: # Unrecognized Compiler pragma "pragmaname".
(unrecognized_pragma) Use one of the Compiler pragmas as described in
Chapter 7, Reference.
Warning: File: filename Line: # Column: # name has been used as both a function and a
variable, the variable is ignored.
(inconsistent_variable) When a name represents
both a function and a variable, it is used as the function only.
Warning: File: filename Line: # Column: # "variablename" has not been defined prior to use
on this line.
(undefined_variable) Variables should be defined prior to use.
Warning: Line: # Column: # Function with duplicate name "functionname" cannot be called.
(duplicate_function_name) This warning occurs when an M-file contains more
than one function with the same name.
Warning: filename is a P-file being referenced from "filename". NOTE: A link error will be
produced if a call to this function is made from stand-alone mode.
(mex_or_p_file) The
Compiler cannot generate a call to a function in a P-file for stand-alone code.
The warning occurs if a call to a function that is defined in a P-file is detected.