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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 131
LibBlockOutputSignal
4
-10
LibBlockOutputSignal
Purpose
Determines the block’s output signal.
Syntax
%<LibBlockOutputSignal(portIdx, ucv, lcv, sigIdx)>
Arguments
portNum
Integer port number.
ucv
User control variable string.
lcv
Loop control variable string.
sigIdx
Integer offset into block signal.
Returns
The block’s output signal.
Description
LibBlockOutputSignal
returns the block’s output signal. The result is
determined by the values of
ucv
,
lcv
, and
sigIdx
. The result is as follows:
Notes:
The precedence is
ucv
,
lcv
, then
sigIdx
. That is, if
ucv
and
lcv
are
both specified,
ucv
takes precedence over
lcv
. Also, the vector index is only
added for wide signals.
B.block[ucv]
If
ucv
is specified.
y%<portIdx>[lcv]
If
lcv
is specified and signal is wide.
B.block
If
lcv
is specified and signal is scalar.
B.block[sigIdx]
Otherwise, where
[sigIdx]
is optional for wide
signals.
Vedere la pagina 131
1 2 ... 127 128 129 130 131 132 133 134 135 136 137 ... 281 282

Commenti su questo manuale

Nessun commento