Writing S-Functions | ![]() ![]() |
Get address of an output port's signal.
Syntax
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 | ![]() |