| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Real-Time Workshop Embedded Coder |
| Contents | Index |
| Learn more about 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 referenced models (see Referencing a Model):
If data is assigned a grouped CSC, such as Struct or Bitfield, the CSC's Data scope property must be Imported and the data declaration must be provided in a user-supplied header file. See Grouped Custom Storage Classes for more information about grouped CSCs.
If data is assigned an ungrouped CSC, such as 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.
![]() | Custom Storage Class Implementation | Custom Storage Classes Prior to R2009a | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |