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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 254
B-17
The number of rows specified (
specified-rows
) did not match the actual
number of rows seen in the matrix (
actual-rows
)
When specifying a Target Language Compiler matrix, the number of rows
specified did not match the actual number of rows in the matrix. For example:
%assign mat = Matrix(1,2) [ [1 2] [2 3] ]
In this case, the number of rows in the declaration of the matrix (i.e., 1) did not
match the number of rows seen in the matrix (i.e., 2). Either change the
number of rows in the matrix, or change the matrix declaration.
The
operator
operator only works on numeric arguments
The arguments to the following operators both must be either Number or Real:
<, <=, >, >=, +, , *, /. In addition, the FORMAT built-in function expects either a
Number or Real argument.
The
operator
operator only works on integral arguments
The &, ^, |, <<, >> and % operators only work on numbers.
The
operator
operator only works on Boolean arguments
The && and || operators work on Boolean values only.
The return value from the RollHeader function must be a string
When using %roll, the RollHeader() function specified in Roller.tlc must
return a string value. See Chapter 2 for a complete discussion of the
%roll
construct.
The roll argument to %roll must be a nonempty vector of numbers or
ranges
When using %roll, the roll vector cannot be empty and must contain
Numbers or Ranges of Numbers. See Chapter 2 for a complete discussion of the
%roll construct.
Vedere la pagina 254
1 2 ... 250 251 252 253 254 255 256 257 258 259 260 ... 281 282

Commenti su questo manuale

Nessun commento