MATLAB Compiler | ![]() |
Run-Time Errors
Note
The error messages described in this section are generated by the Compiler into the code exactly as they are written, but are not the only source of run-time errors. You also can receive run-time errors can from the C/C++ Math Libraries; these errors are not documented in this book. Math Library errors do not include the source file and line number information. If you receive such an error and are not certain if it is coming from the C/C++ Math Libraries or your M-code, compile with the -A debugline:on option to get additional information about which part of the M source code is causing the error. For more information about -A (the annotation option), see MATLAB Compiler Option Flags.
|
Run-time Error: File: filename Line: # Column: # The call to function "functionname" that appeared on this line was not a known function at compile time. The function was not found at compile time.
Run-time Error: File: filename Line: # Column: # The call to function "functionname" on this line passed quantity1 inputs and the function is declared with quantity2. There is an inconsistency between the formal and actual number of inputs to a function.
Run-time Error: File: filename Line: # Column: # The call to function "functionname" on this line requested quantity1 outputs and the function is declared with quantity2. There is an inconsistency between the formal and actual number of outputs from a function.
Run-time Error: File: filename Line: # Column: # The clear statement did not specifically list the names of variables to be cleared as constant strings. Use one of the forms of the clear
command that contains the names of the variables to be cleared, for example:
Run-time Error: File: filename Line: # Column: # The Compiler does not support EVAL or INPUT functions. Currently, these are unsupported functions.
Run-time Error: File: filename Line: # Column: # The function "functionname" was called with more than the declared number of inputs (quantity1). There is an inconsistency between the declared number of formal inputs and the actual number of inputs.
Run-time Error: File: filename Line: # Column: # The function "functionname" was called with more than the declared number of outputs (quantity1). There is an inconsistency between the declared number of formal outputs and the actual number of outputs.
Run-time Error: File: filename Line: # Column: # The load statement did not specifically list the names of variables to be loaded as constant strings. Use one of the forms of the load
command that contains the names of the variables to be loaded, for example:
Run-time Error: File: filename Line: # Column: # The save statement did not specifically list the names of variables to be saved as constant strings. Use one of the forms of the save
command that contains the names of the variables to be saved, for example:
![]() | Warning Messages |