Writing S-Functions    
ssWriteRTWScalarParam

Write a scalar parameter to the model.rtw file.

Syntax

Arguments

S
   SimStruct representing an S-Function block.

name
   Parameter name.

value
   Parameter value.

type
   Integer ID of the type of the parameter value, for example, the ID of one of Simulink's built-in data types (see BuiltInDTypeId in simstruc_types.h in the MATLAB simulink/include subdirectory) or the ID of a user-defined type (see Custom Data Types).

Description

Use this function in mdlRTW to write scalar parameters to this S-function's model.rtw file. This function returns true if successful.

Languages

C

See Also
mdlRTW


  ssWriteRTWParamSettings ssWriteRTWStr