Main Content

ssGetInputPortDirectFeedThrough

Determine whether a port has direct feedthrough

Syntax

int_T ssGetInputPortDirectFeedThrough(SimStruct *S, int_T port)

Arguments

S

SimStruct that represents an S-Function block.

port

Index of the port whose direct feedthrough property is required.

Returns

The int_T value 1 if the input port specified by the index port has direct feedthrough. Otherwise, returns 0.

Description

Use in any routine (except mdlInitializeSizes) to determine whether an input port has direct feedthrough.

Languages

C, C++

Version History

Introduced before R2006a