Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ssGetOutputPortFrameData

Determine whether a port outputs signal frames

Syntax

Frame_T ssGetOutputPortFrameData(SimStruct *S,  int_T port)

Arguments

S

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

Introduced before R2006a

Was this topic helpful?