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.

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.


S-Function Callback Methods

Description of S-function callback methods

S-Function SimStruct Functions

Overview of SimStruct macros and functions.

Was this topic helpful?