ssSetInputPortAcceptExprInRTW
Specify whether a block input accepts a nonconstant expression
Syntax
void ssSetInputPortAcceptExprInRTW(SimStruct *S, int portIdx, bool value)
Arguments
S
SimStruct that represents an S-Function block.
portIdx
Port whose input expression acceptance is being set.
value
Set
value
to1
to allow the block input to accept a nonconstant expression, or to0
to 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