ssSetInputPortAcceptExprInRTW
Specify whether a block input accepts a nonconstant expression
Syntax
void ssSetInputPortAcceptExprInRTW(SimStruct *S, int portIdx, bool value)
Arguments
SSimStruct that represents an S-Function block.
portIdxPort whose input expression acceptance is being set.
valueSet
valueto1to allow the block input to accept a nonconstant expression, or to0to disallow.
Description
Use in mdlInitializeSizes to specify whether the block input,
port, should accept a nonconstant expressions. Nonconstant
expressions are trivial or generic expressions.
Languages
C, C++
See Also
ssGetInputPortAcceptExprInRTW, ssGetOutputPortOutputExprInRTW, ssSetOutputPortOutputExprInRTW
Version History
Introduced before R2006a