
Warning Messages
B-13
will be called through an feval call. This is used so that the -h option will
automatically compile the selected functions.
Warning: File: filename Line: # Column: # The call to function "functionname" on this line
passed quantity1 inputs and the function is declared with quantity2. A run-time error will occur
if this code is executed.
(too_many_inputs) There is an inconsistency between the
number of formal and actual inputs to the function.
Warning: File: filename Line: # Column: # The call to function "functionname" on this line
requested quantity1 outputs and the function is declared with quantity2. A run-time error will
occur if this code is executed.
(too_many_outputs) There is an inconsistency
between the number of formal and actual outputs for the function.
Warning: File: filename Line: # Column: # The clear function cannot process the "optionname"
argument in compiled code.
(clear_cannot_handle_flag) You cannot use clear
variables
, clear mex, clear functions, or clear all in compiled M-code.
Warning: File: filename Line: # Column: # The clear statement did not specifically list the names
of variables to be cleared as constant strings. A run-time error will be reported if this code is
executed.
(clear_non_constant_strings) Use one of the forms of the clear
command that contains the names of the variables to be cleared. Use
clear
name
or clear('name'); do not use clear(name).
Warning: File: filename Line: # Column: # The Compiler does not support the optionname
option to save. This option is ignored.
(save_option_ignored) You cannot use
-ascii, -double, or -tabs with the save command in compiled M-code.
Warning: File: filename Line: # Column: # The filename provided to load (save) was a cell array
or structure index that could possibly expand into a comma separated list. An error will occur
at run-time if a comma list is present for the filename.
(load_save_filename) The
Compiler needs to know statically the number of variables that are involved in
a
load or save. If a cell array is involved, the Compiler cannot make that
determination, and the generated code may behave differently from MATLAB.
Warning: File: filename Line: # Column: # The "functionname" function is only available in
MEX mode. A run-time error will occur if this code is executed in stand-alone mode.
(using_mex_only_function) This warning is produced if you call any built-in
function that is only available in
mex mode. It is only generated when producing
the
main or lib wrapper and not during normal compilation, unless specifically
enabled.
Commenti su questo manuale