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 typeFrame_T
, indicating if the input port specified by the indexport
接受信号帧。
Description
Use to determine if a particular input port accepts frame-based signals. Possible return values include:
FRAME_INHERITED
运动t accepts either frame or unframed input.
FRAME_NO
运动t accepts unframed input only.
FRAME_YES
运动t accepts frame input only.
Languages
C, C++
Introduced before R2006a