Download Writing S-Functions

Transcript
ssGetInputPortDataType
Purpose
10ssGetInputPortDataType
Get the data type of an input port.
C Syntax
DTypeId ssGetInputPortDataType(SimStruct *S,input_T port)
Ada Syntax
function ssGetInputPortDataType(S : in SimStruct; port : in Integer
:= 0) return Integer;
Arguments
S
SimStruct representing an S-function block or a Simulink model.
port
Index of an input port
Description
Returns the data type of the input port specified by port.
Languages
Ada, C
See Also
ssSetInputPortDataType
10-38