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.

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

Introduced before R2006a

Was this topic helpful?