Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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.

Introduced before R2006a

Was this topic helpful?