Documentation

Block Dialog Parameters

Configure dialog box parameters for S-Function blocks

S-Function Callback Methods

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

SimStruct Functions

ssGetDTypeIdFromMxArray Get the data type of an S-function parameter
ssGetNumSFcnParams Get the number of parameters that an S-Function block expects
ssGetSFcnParam Get a parameter of an S-Function block
ssGetSFcnParamsCount Get the number of block dialog parameters that an S-Function block has
ssSetNumSFcnParams Specify the number of parameters that an S-Function block has
ssSetSFcnParamTunable Make 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?