Main Content

ssGetOutputPortFrameData

Determine whether a port outputs signal frames

Syntax

Frame_T ssGetOutputPortFrameData(SimStruct *S,  int_T port)

Arguments

S

SimStruct that represents an S-function block.

port

Index of an output port.

Returns

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

Description

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

  • FRAME_INHERITED

    Port outputs either frame or unframed data.

  • FRAME_NO

    Port outputs unframed data only.

  • FRAME_YES

    Port outputs frame data only.

Languages

C, C++

Version History

Introduced before R2006a