Increase the minimum number of characters for generating name-mangling text to help avoid name collisions.
Category: Code Generation > Identifiers
Default: 1
Specify an integer value that indicates the minimum number of characters the code
generator uses when generating name-mangling text. The maximum possible value is
15
. The minimum value automatically increases during code generation as
a function of the number of collisions. A larger value reduces the chance of identifier
disturbance when you modify the model.
Minimize disturbance to the generated code during development by specifying a value of 4. This value is conservative. It allows for over 1.5 million collisions for a particular identifier before the mangle length increases.
Set the value to reserve at least three characters for the name-mangling text. The length of the name-mangling text increases as the number of name collisions increases.
This parameter:
Appears only for ERT-based targets.
Requires Embedded Coder® when generating code.
Parameter:
MangleLength |
Type: integer |
Value: value between 1 and
15 |
Default:
1 |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | 1 |
Efficiency | No impact |
Safety precaution | No impact |