Main Content

ssSetOutputPortOutputExprInRTW

Specify whether a block output generates a nonconstant expression

Syntax

void ssSetOutputPortOutputExprInRTW(SimStruct *S, int portIdx, bool value)

Arguments

S

SimStruct that represents an S-Function block.

portIdx

Port whose output expression is being set.

value

Set value to 1 to set block output to generate a nonconstant expression, or to 0 to produce a statement.

Description

Use in mdlInitializeSizes to specify whether the block output, port, should generate a nonconstant expressions. Nonconstant expressions are trivial or generic expressions.

Languages

C, C++

Version History

Introduced before R2006a