MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manual de servicio Pagina 125

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 282
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 124
LibBlockInputSignal
4
-3
LibBlockInputSignal
Purpose
Determines the input signal label based on the type of input signal
Syntax
%<LibBlockInputSignal(portNum, ucv, lcv, sigIdx)>
Arguments
portNum
Integer data input port number.
ucv
User control variable string.
lcv
Loop control variable string.
sigIdx
Integer offset into block signal.
Returns
The input signal label based on the type of input signal, i.e.,
U
,
X
,
B
, or
G
.
Description
LibBlockInputSignal
returns the input signal label based on the type of input
signal, i.e.,
U
,
X
,
B
, or
G
. For example,
U.Vin[2]
is generated for a wide input
signal named
Vin
(nonloop rolling case). In general,
LibBlockInputSignal
returns:
where
Source
is
U
,
X
, or
B
.
rtGROUND
If input signal is
GROUND
.
Source.block[ucv]
If
ucv
is specified.
u%<portNum>[lcv]
If
lcv
specified and signal is wide.
Source.block
If
lcv
is specified and signal is scalar.
Source.block[sigIdx]
Otherwise, where
[sigIdx]
is optional for
wide signals.
Vista de pagina 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 281 282

Comentarios a estos manuales

Sin comentarios