Simulink.ParamRTWInfo - Specify information needed to generate code for parameter

Description

Simulink software creates an instance of this class for each instance of a Simulink.Parameter object that it creates. Simulink software uses the Simulink.ParamRTWInfo object to store information needed to generate code for the parameter specified by the Simulink.Parameter object.

You can set the properties of an instance of this class via the RTWInfo property or the property dialog box of the Simulink.Parameter object that uses it. For example, the following MATLAB expression sets the StorageClass property of a Simulink.ParamRTWInfo object used by a parameter object name myparam.

myparam.RTWInfo.StorageClass = 'ExportedGlobal';

Property Dialog Box

Use the Code Generation Options section of the Simulink.Parameter property dialog box to set the StorageClass and Alias properties of objects of this class.

Properties

Name

Description

Alias

Alternate name for this parameter.

CustomAttributes

Custom storage class attributes of this parameter. See Custom Storage Classes in the Real-Time Workshop Embedded Coder documentation for more information.

CustomStorageClass

Custom storage class of this parameter.

StorageClass

Storage class of this parameter. See Parameter Storage, Interfacing, and Tuning in the Real-Time Workshop documentation for more information.

  


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