Contents

ssGetInputPortFrameData

Determine whether a port accepts signal frames

Syntax

Frame_T ssGetInputPortFrameData(SimStruct *S,  int_T port)

Arguments

S

SimStruct representing an S-Function block.

port

Index of an input port.

Returns

A value of type Frame_T, indicating if the input port specified by the index port accepts signal frames.

Description

Use to determine if a particular input port accepts frame-based signals. Possible return values include:

  • FRAME_INHERITED

    Port accepts either frame or unframed input.

  • FRAME_NO

    Port accepts unframed input only.

  • FRAME_YES

    Port accepts frame input only.

Languages

C, C++

Was this topic helpful?