Specify whether to apply a memory section to constants.
Category: Code Generation
Memory section specifications for model-level functions and internal data apply to the top level of the model and to subsystems except atomic subsystems that contain overriding memory section specifications.
Default: Default
Default
Suppresses the use of a memory section for constants.
memory-section-name
Applies a memory section to constants.
This parameter applies to the generated global data structures that contain:
Constant parameters
Constant block I/O
For basic information about the global data structures generated for models, see Standard Data Structures in the Generated Code.
Parameter: MemSecDataConstants |
Type: character vector |
Value: 'Default' | 'MemConst' | 'MemVolatile' | 'MemConstVolatile' |
Default: 'Default' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |