Writing S-Functions | ![]() ![]() |
Get address of an output port's signal.
Syntax
ssGetOutputPortSignalAddress(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.
yWidth : Integer := ssGetOutputPortWidth(S,0); Y : array(0 .. yWidth-1) of Real_T; for Y'Address use ssGetOutputPortSignalAddress(S,0);
See Also
ssGetOutputPortWidth
![]() | ssGetOutputPortSignal | ssGetOutputPortWidth | ![]() |