ssGetInputPortAcceptExprInRTW
Determine whether a block input accepts a nonconstant expression
Syntax
bool ssGetInputPortAcceptExprInRTW(SimStruct *S, int portIdx)
Arguments
SSimStruct that represents an S-Function block.
portIdxPort whose input expression acceptance is needed.
Returns
Either an int_T (1 or 0)
or boolean_T (true or
false) value indicating if the block input accepts a nonconstant
expression.
Description
Returns 1 (true) if the specified
port on the block input accepts nonconstant expressions.
Nonconstant expressions are trivial or generic expressions.
Languages
C, C++
See Also
ssSetInputPortAcceptExprInRTW, ssGetOutputPortOutputExprInRTW, ssSetOutputPortOutputExprInRTW
Version History
Introduced before R2006a