Recommended Settings Summary for Model Configuration Parameters
The following table summarizes the impact of each configuration parameter on debugging, traceability, efficiency, and safety considerations, and indicates the factory default configuration settings for the GRT and ERT targets, unless otherwise specified.
For parameters that are available only when an ERT target is specified, see Recommended Settings Summary for Model Configuration Parameters (Embedded Coder).
For additional details, click the links in the Configuration Parameter column.
Mapping Application Requirements to the Solver Pane
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
No impact | No impact | No impact | 0.0 | 0.0 seconds | |
No impact | No impact | No impact | A positive value | 10.0 seconds | |
|
|
|
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact | Period, offset, and priority of each sample time in the model; faster sample times must have higher priority than slower sample times |
| |
No impact | No impact | No impact | No impact | On | |
No impact | No impact (for simulation and during development) Off (for production code generation) | No impact | Off | Off |
Mapping Application Requirements to the Data Import/Export Pane
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact | No recommendation | No recommendation | Off | |
No impact | No impact | No recommendation | No recommendation | Off | |
No impact | No impact | No recommendation | No recommendation | On | |
No impact | No impact | No recommendation | No recommendation | Off | |
No impact | No impact | No recommendation | No recommendation | On | |
No impact | No impact | No recommendation | No recommendation | Off | |
No impact | No impact | No recommendation | No recommendation | On | |
No impact | No impact | No recommendation | No recommendation | Off | |
No impact | No impact | No recommendation | No recommendation | On | |
No impact | No impact | No recommendation | No recommendation | 1 | |
No impact | No impact | No recommendation | No recommendation |
| |
No impact | No impact | No recommendation | No recommendation |
| |
No impact | No impact | No recommendation | No recommendation | 1 | |
No impact | No impact | No recommendation | No recommendation |
|
Mapping Application Requirements to the Math and Data Types Pane
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact |
| No impact |
| |
No impact | No impact | On (when target hardware supports efficient division) Off (otherwise) | No impact |
| |
No impact | No impact | Finite value |
|
| |
Use floating-point multiplication to handle net slope corrections | No impact | No impact | On (when target hardware supports efficient multiplication) | No recommendation | Off |
*The command-line value is reverse of the listed value. |
Mapping Application Requirements to the Optimization Pane
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
|
|
| No impact |
| |
No impact | No impact | >0 | No impact | 5 | |
No impact | No impact | No impact | No impact |
| |
No impact | No impact | On | No impact | On | |
No impact | No impact | Accept default or determine target-specific optimal value | No impact | 64 | |
Off | Off | On | No impact | Off | |
Remove code from floating-point to integer conversions that wraps out-of-range values | Off | Off | On (execution, ROM) No impact (RAM) | No impact | Off |
Off | Off | Off (execution, ROM) On (RAM) | No impact | Off | |
Off | Off | Off (execution, ROM) On (RAM) | No impact | Off |
Mapping Application Requirements to the Diagnostics Pane: Solver Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
| No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
| No impact |
| No impact |
| |
No impact | No impact | No impact |
|
|
Mapping Application Requirements to the Diagnostics Pane: Sample Time Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
Enforce sample times specified by Signal Specification blocks | No impact | No impact | No impact |
|
|
Mapping Application Requirements to the Diagnostics Pane: Data Validity Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
|
|
|
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
|
|
|
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
| No impact |
| No impact |
| |
No impact | No impact | No impact | On | On |
Mapping Application Requirements to the Diagnostics Pane: Type Conversion Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
|
Mapping Application Requirements to the Diagnostics Pane: Connectivity Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
|
Mapping Application Requirements to the Diagnostics Pane: Compatibility Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact | No impact |
|
|
Mapping Application Requirements to the Diagnostics Pane: Model Referencing Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact | No impact | No recommendation |
| |
No impact | No impact | No impact |
|
| |
No impact | No impact | No impact |
|
|
Mapping Application Requirements to the Diagnostics Pane: Saving Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact | No impact | No impact |
| |
No impact | No impact | No impact | No impact |
|
Mapping Application Requirements to the Diagnostics Pane: Stateflow Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
| No impact | No impact (for simulation and during development)
|
|
| |
| No impact | No impact |
|
| |
| No impact | No impact |
|
| |
| No impact | No impact (for simulation and during development)
|
|
| |
| No impact | No impact (for simulation and during development)
|
|
|
Mapping Application Requirements to the Hardware Implementation Pane
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact | No impact | Select your Device vendor and
Device type if they are available in the drop-down list. If your
Device vendor and Device type are not available,
set device-specific values by using | None if specified system target file is
ert.tlc , realtime.tlc , or
autosar.tlc . Otherwise, Determine by Code Generation system
target file | |
No impact | No impact | No impact | Select your Device vendor and
Device type if they are available in the drop-down list. If your
Device vendor and Device type are not available,
set device-specific values by using |
| |
No impact | No impact | No impact | Select your Device vendor and
Device type if they are available in the drop-down list. If your
Device vendor and Device type are not available,
set device-specific values by using |
| |
No impact | No impact | Target specific | No
recommendation for simulation without
code generation. |
| |
No impact | No impact | Target specific | No
recommendation for simulation without
code generation. | integer | |
No impact | No impact | No impact | No
recommendation for simulation without
code generation. |
| |
No impact for simulation and during development
| No impact for simulation and during development
| No impact for simulation and during development
| No
recommendation for simulation without
code generation. |
| |
No impact | No impact | On | No
recommendation for simulation without
code generation. | On | |
No impact | No impact | On (execution, ROM) | No
recommendation for simulation without
code generation. | Off |
Mapping Application Requirements to the Model Referencing Pane
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact | No impact |
If you use the | If any changes detected | |
No impact | No impact | No impact | error if rebuild required
| error if rebuild required | |
No impact | No impact | No impact | No impact | Off | |
No impact | No impact | No impact | No impact | None | |
No impact | No impact | No impact | No recommendation |
| |
Pass fixed-size scalar root inputs by value for code generation | No impact | No impact | No impact | No recommendation | Off |
No impact | No impact | No impact | No recommendation | Off | |
No impact | No impact | No impact | No recommendation | Infer from blocks in model | |
No impact | No impact | No impact | No recommendation |
|
Mapping Application Requirements to the Simulation Target Pane: General Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
On | No impact | No recommendation | On | On | |
On | No impact | Off | No impact | On | |
On | No recommendation | No recommendation | No recommendation | On |
Mapping Application Requirements to the Simulation Target Pane: Symbols Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact | No impact | No recommendation |
|
Mapping Application Requirements to the Simulation Target Pane: Custom Code Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
On | No impact | No impact | On | On | |
No recommendation | No recommendation | No recommendation | No recommendation |
| |
No recommendation | No recommendation | No recommendation | No recommendation |
| |
No recommendation | No recommendation | No recommendation | No recommendation |
| |
No recommendation | No recommendation | No recommendation | No recommendation |
| |
No impact | No impact | No impact | No recommendation |
| |
No impact | No impact | No impact | No recommendation |
| |
No impact | No impact | No impact | No recommendation |
| |
No impact | No impact | No impact | No recommendation |
|
Mapping Application Requirements to the Code Generation Pane: General Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact | No impact | No impact (GRT) ERT based (ERT) |
| |
No impact | No impact | No impact | No impact | C | |
No impact | No impact | Valid library | No impact |
| |
|
|
No impact (ROM, RAM) | No impact |
| |
|
|
| No impact |
| |
No impact | No impact | No impact | No impact | On | |
No impact | No impact | No impact | No recommendation |
| |
No impact | No impact | No impact | No impact |
| |
Debugging | Not applicable for GRT-based targets | Execution efficiency | No recommendation | Unspecified | |
On (proceed with warnings) or On (stop for
warnings) | On (proceed with warnings) or On (stop for
warnings) | On (proceed with warnings) or On (stop for
warnings) | On (proceed with warnings) or On (stop for
warnings) | Off | |
Off | No impact | No impact | No impact | Off | |
On | No impact | No impact | No recommendation | On | |
On | No impact | No impact | No impact | Off | |
On | No impact | No impact | No impact | Off | |
On | No impact | No impact | No impact | Off | |
On | No impact | No impact | No impact | Off | |
On | No impact | No impact | No recommendation | Off |
Mapping Application Requirements to the Code Generation Pane: Report Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
On | On | No impact | No recommendation | Off | |
On | On | No impact | No impact | Off |
Mapping Application Requirements to the Code Generation Pane: Comments Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
On | On | No impact | No recommendation | On | |
On | On | No impact | No recommendation | On | |
On | On | No impact | No recommendation | Off | |
On | On | No impact | No recommendation | On | |
On | On | No impact | No recommendation | On | |
Operator annotations (Embedded Coder) | No impact | On | No impact | No recommendation | On |
Mapping Application Requirements to the Code Generation Pane: Identifiers Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
Valid value | >30 | No impact | >30 | 31 | |
No impact | No impact | No impact | No impact | Off | |
No impact | No impact | No impact | No impact |
|
Mapping Application Requirements to the Code Generation Pane: Custom Code Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact | No impact | No impact | Off | |
No impact | No impact | No impact | No impact |
| |
No impact | No impact | No impact | No impact |
| |
No impact | No impact | No impact | No impact |
| |
No impact | No impact | No impact | No impact |
| |
No impact | No impact | No impact | No impact |
| |
No impact | No impact | No impact | No impact |
| |
No impact | No impact | No impact | No impact |
| |
No impact | No impact | No impact | No impact |
|
Mapping Application Requirements to the Code Generation Pane: Interface Tab
Configuration Parameter | Settings for Building Code | Factory Default | |||
---|---|---|---|---|---|
Debugging | Traceability | Efficiency | Safety precaution | ||
No impact | No impact | Valid library | No impact |
| |
No impact (ERT) |
No impact (ERT) | No impact (execution, RAM)
| No impact |
| |
No impact | No impact | Off (Execution, ROM) No impact (RAM) | No recommendation | On | |
No impact | No impact |
| No impact |
| |
| No impact |
| No impact |
| |
On | On | On | No recommendation | On | |
On | No impact | Off | Off | On (GRT) Off (ERT) | |
No impact | No impact | No impact | Off On if you check code generator assumptions. See Check Code Generation Assumptions (Embedded Coder) and Verification of Code Generation Assumptions (Embedded Coder). | Off | |
MAT-file variable name modifier (Embedded Coder) | No impact | No impact | No impact | No impact |
|
No impact | No impact | No impact | No impact (development) Off (production) | Off | |
No impact | No impact | No impact | No impact (development) Off (production) | Off | |
No impact | No impact | No impact | No impact (development) Off (production) | Off | |
No impact | No impact | No impact | No impact (development) Off (production) | Off | |
No impact | No impact | No impact | No impact (development) Off (production) | Off | |
No impact | No impact | No impact | No impact (development) Off (production) | Off | |
No impact | No impact | No impact | No impact |
| |
No impact | No impact | No impact | No impact |
| |
No impact | No impact | No impact | No impact | Off | |
No impact | No impact | No impact | No impact | 1000000 |