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.

Run-Time Parameters

Create, update and access run-time parameters for S-Function blocks

S-Function Callback Methods

mdlSetWorkWidths Specify the sizes of the work vectors and create the run-time parameters required by this C MEX S-function
mdlCheckParameters Check the validity of a C MEX S-function's parameters
mdlProcessParameters Process the C MEX S-function's parameters

SimStruct Functions

ssGetNumRunTimeParams Get the number of run-time parameters created by this S-function
ssGetRunTimeParamInfo Get the attributes of a run-time parameter
ssRegAllTunableParamsAsRunTimeParams Register all tunable parameters as run-time parameters
ssRegDlgParamAsRunTimeParam Register a dialog parameter as a run-time parameter
ssSetNumRunTimeParams Specify the number of run-time parameters created by this S-function
ssSetRunTimeParamInfo Specify the attributes of a run-time parameter
ssUpdateAllTunableParamsAsRunTimeParams Update the values of run-time parameters to be the same as those of the corresponding tunable dialog parameters
ssUpdateDlgParamAsRunTimeParam Update a run-time parameter that corresponds to a dialog parameter
ssUpdateRunTimeParamData Update the value of a run-time parameter
ssUpdateRunTimeParamInfo Update the attributes of a run-time parameter

Examples and How To

Run-Time Parameters

How to create and use run-time parameters.


S-Function Callback Methods

Description of S-function callback methods

S-Function SimStruct Functions

Overview of SimStruct macros and functions.

Was this topic helpful?