Skip to Main Content Skip to Search
Product Documentation

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.mdl and the S-function sfun_runtime4.c used in sfcndemo_runtime.mdl.

See Also

ssSetUserData

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS