Technical data
The RTW TLC Function Library
3-25
columns of your matrix. This function will degenerate to a vector or scalar, if 
needed.
Note:  Do not use this function to build the address of a parameter. For 
example,
%assign paramAddr = "&%<LibBlockMatrixParameter(TruthTable, ...)>"
This may produce a reference to a constant number, for example, &4.95 f the 
value of 
TruthTable is 4.95, and RTW is configured to inline parameter 
values. Instead, use the TLC function 
LibBlockParameterAddr to avoid this 
undesirable behavior. For an example of this function, see cmblogic.tlc.
LibBlockMatrixParameterAddr(param, rowUcv, rowLcv, rowSigIdx, 
colUcv, colLcv, colSigIdx)
This function returns the appropriate address of a block’s matrix parameter. 
The function is similar to 
LibBlockParameterAddr. For an example of this 
function, see 
cmblogic.tlc.
Note:  Calling this function will force the parameter to stay in memory 
regardless of the value of InlineParameters.
LibDiscreteState(ucv, lcv, sigIdx)
LibContinuousState(ucv, lcv, sigIdx)
The behavior of these functions is similar to LibBlockOutputSignal, except 
they return the appropriate reference to the block’s discrete/continuous state. 
For an example of these functions, see 
delay.tlc and integrat.tlc.
LibBlockMode(ucv, lcv, sigIdx)
The behavior of this function is similar to LibBlockOutputSignal, except it 
returns the appropriate reference to a block’s mode. For an example, see 
dintegrt.tlc.










