MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manuale di Servizio Pagina 246

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 245
B
Target Language Compiler Error Messages
B-8
Function reached the end and did not return a value
Functions that are not declared as void or Output must return a value. If a
return value is not desired, declare the function as
void, otherwise ensure that
it always returns a value.
Identifier
identifier
used on a %foreach statement was already in scope
(Warning)
The argument to a %foreach statement cannot be defined prior to entering the
%foreach.
Incorrect number of arguments to a macro (
number
expected)
When invoking a function-like macro, too many arguments were passed to it.
The extra arguments were ignored.
Indices must be constant integral numbers
An index used in a [] expression must be an integral number.
Invalid type for unary
operator
This error occurs for the following operators under the given conditions:
Operator Reason for error
!
Operand to the logical not operator (!) must be a Number,
Real, or Boolean.
-
Operand to the unary negation operator (-) must be a
Number or Real.
+
Operand to the unary plus operator (+) must be a Number
or Real.
~
Operand to the bitwise negation operator (~) must be a
Number.
Vedere la pagina 245
1 2 ... 241 242 243 244 245 246 247 248 249 250 251 ... 281 282

Commenti su questo manuale

Nessun commento