Documentation

Block Dialog Parameters

Configure dialog box parameters for S-Function blocks

S-Function Callback Methods

mdlInitializeSizesSpecify the number of inputs, outputs, states, parameters, and other characteristics of the C MEX S-function

SimStruct Functions

ssGetDTypeIdFromMxArrayGet the data type of an S-function parameter
ssGetNumSFcnParamsGet the number of parameters that an S-Function block expects
ssGetSFcnParamGet a parameter of an S-Function block
ssGetSFcnParamsCountGet the number of block dialog parameters that an S-Function block has
ssSetNumSFcnParamsSpecify the number of parameters that an S-Function block has
ssSetSFcnParamTunableMake a block parameter tunable

Examples and How To

Dialog Parameters

How to process parameters passed via the S-function block's dialog box.

Concepts

S-Function Callback Methods

Description of S-function callback methods

S-Function SimStruct Functions

Overview of SimStruct macros and functions.

Was this topic helpful?