Main Content

ssGetOutputPortOutputExprInRTW

Determine whether a block output generates a nonconstant expression

Syntax

bool ssGetOutputPortOutputExprInRTW(SimStruct *S, int portIdx)

Arguments

S

SimStruct that represents an S-Function block.

portIdx

Port whose output expression is needed.

Returns

Either an int_T (1 or 0) or boolean_T (true or false) value indicating if the block output generates a nonconstant expression.

Description

Returns 1 (true) if the specified port on the block output generates nonconstant expressions. Nonconstant expressions are trivial or generic expressions.

Languages

C, C++

Version History

Introduced before R2006a