Skip to Main Content Skip to Search
Product Documentation

ssWriteRTWStrParam - Write a string parameter to the model.rtw file

Syntax

int_T ssWriteRTWStrParam(SimStruct *S,  const char_T *name,
  const char_T *value)

Arguments

S

SimStruct representing an S-Function block.

name

Parameter name.

value

Parameter value.

Returns

An int_T (1 or 0) or boolean_T (true or false) indicating the success or failure of the function.

Description

Use this function in mdlRTW to write string parameters to this S-function's model.rtw file. This function returns 1 (true) if successful. The output of this macro can also be correctly assigned to boolean_T.

Languages

C, C++

See Also

mdlRTW

  


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