ssGetUserData
Access user data
Syntax
void *ssGetUserData(SimStruct *S)
Arguments
S
SimStruct representing an S-Function block.
Returns
A pointer (void *
) to the S-function's user data.
Description
Use to access the user data associated with this block. See ssSetUserData
for more
information on specifying user data.
Languages
C, C++
Example
See the S-function sfun_multiport.c
used in sfcndemo_sfun_multiport
and the S-function sfun_runtime4.c
used in sfcndemo_runtime
.