ssGetInputPortAcceptExprInRTW
Determine whether a block input accepts a nonconstant expression
Syntax
bool ssGetInputPortAcceptExprInRTW(SimStruct *S, int portIdx)
Arguments
-
S
-
SimStruct representing an S-Function block.
-
portIdx
-
Port whose input expression acceptance is needed.
Returns
Either anint_T
(1
or0
) orboolean_T
(true
orfalse
) value indicating if the block input accepts a nonconstant expression.
Description
Returns1
(true
) if the specifiedport
块输入accepts nonconstant expressions. Nonconstant expressions are trivial or generic expressions.
Languages
C, C++
See Also
ssSetInputPortAcceptExprInRTW
,ssGetOutputPortOutputExprInRTW
,ssSetOutputPortOutputExprInRTW