Main Content

Identifiers

Customize generated identifiers

You can configure how the code generator generates identifiers for code structures. Use identifier naming rules to generate identifiers that are meaningful, unique, and traceable.

You can control the maximum length of generated identifiers and include name-mangling text to avoid name collisions. You can use token decorators to control the content of an identifier using regular expressions. Certain keywords are not valid as identifiers, such as keywords from C and C++.

Functions

RTW.reservedIdentifiersGet reserved identifiers for code generation (Since R2023b)

Topics