| Real-Time Workshop® Embedded Coder™ | ![]() |
The Fcn block does not support parameters with custom storage class in code generation.
For CSCs in models that use model referencing:
Note The term grouped CSC refers to a CSC that results in multiple data objects (in the base workspace) being referenced with a single variable in the generated code. For example, several signal objects might be grouped together in a structure by using the Struct or Bitfield custom storage classes. Data grouped in this way are referred to as grouped data. |
If data is assigned a grouped CSC, the CSC's Data scope property must be Imported and the data declaration must be provided in a user-supplied header file.
If data is assigned an ungrouped CSC (for example, Const) and the data's Data scope property is Exported, its Header file property must be unspecified. This results in the data being exported with the standard header file, model.h. Note that for ungrouped data, the Data scope and Header file properties are either specified by the selected CSC, or as one of the data object's instance-specific properties.
![]() | Setting Code Generation Options for Custom Storage Classes | Older Custom Storage Classes (Prior to Release 14) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |