Writing S-Functions | ![]() ![]() |
Get the address of an input port's signal.
Syntax
function ssGetInputPortSignalAddress(S : in SimStruct; port : in Integer := 0) return System.Address;
Arguments
S
SimStruct representing an S-Function block.
Description
Returns the address of the signal connected to port
.
Languages
Example
The following code gets the signal connected to a block's input port.
uWidth : Integer := ssGetInputPortWidth(S,0); U : array(0 .. uWidth-1) of Real_T; for U'Address use ssGetInputPortSignalAddress(S,0);
See Also
ssGetInputPortWidth
![]() | ssGetInputPortSignal | ssGetInputPortSignalPtrs | ![]() |