Contents

ssGetInputPortDirectFeedThrough

Determine whether a port has direct feedthrough

Syntax

int_T ssGetInputPortDirectFeedThrough(SimStruct *S, int_T port)

Arguments

S

SimStruct representing 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++

Was this topic helpful?