Documentation Center

  • Trial Software
  • Product Updates

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 Gets 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

Was this topic helpful?