Skip to Main Content Skip to Search
Product Documentation

ssSetNumRunTimeParams - Specify the number of run-time parameters created by this S-function

Syntax

boolean_T ssSetNumRunTimeParams(SimStruct *S, int_T num)

Arguments

S

SimStruct representing an S-Function block.

num

Number of run-time parameters.

Description

Use this function in mdlSetWorkWidths to specify the number of run-time parameters created by this S-function. See Run-Time Parameters for more information.

Languages

C, C++

Example

See the S-function sfun_runtime2.c used in sfcndemo_runtime.mdl.

See Also

mdlSetWorkWidths, ssGetNumRunTimeParams, ssSetRunTimeParamInfo

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS