MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Service Manual Page 125

  • Download
  • Add to my manuals
  • Print
  • Page
    / 282
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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.
Page view 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 281 282

Comments to this Manuals

No comments