Specify information needed to generate code for parameter


Simulink® software creates an instance of this class for each instance of a Simulink.Parameter object that it creates. Simulink software uses the Simulink.ParamCoderInfo 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 CoderInfo 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.ParamCoderInfo object used by a parameter object name myparam.

myparam.CoderInfo.StorageClass = 'exportedGlobal';

Property Dialog Box

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





Alternate name for this parameter.


Data alignment boundary for this parameter. See Data Alignment for Code Replacement in the Embedded Coder® documentation for more information.


Custom storage class attributes of this parameter. See Introduction to Custom Storage Classes in the Embedded Coder documentation for more information.


Custom storage class of this parameter.


Storage class of this parameter. For more information, see Parameters in the Simulink Coder™ documentation.

Was this topic helpful?