Generate scalar inlined parameters as
Express scalar inlined parameter values in the generated code as literals or macros
Model Configuration Pane: Code Generation / Identifiers
Description
Control expression of scalar inlined parameter values in the generated code. Block parameters appear inlined in the generated code when you set Configuration Parameters > Optimization > Default parameter behavior to Inlined
.
Dependencies
This parameter:
Appears only for ERT-based targets.
Requires Embedded Coder® when generating code.
Settings
Literals
(default) | Macros
Literals
Generates scalar inlined parameters as numeric constants.
Macros
Generates scalar inlined parameters as variables with
#define
macros. This setting makes generated code more readable.
Examples
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | Macros |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: InlinedPrmAccess |
Type: character vector |
Value: Literals | Macros |
Default: Literals |
Version History
Introduced before R2006a