Writing S-Functions Previous page   Next Page
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 the Simulink 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


Previous page  ssWriteRTWParamSettings ssWriteRTWStr Next page

© 1994-2005 The MathWorks, Inc.