Documentation

Specify Reserved Names for Generated Identifiers

You can specify a set of reserved keywords that the code generation process should not use, facilitating code integration where functions and variables from external environments are unknown in the Simulink®model. To create a list of reserved names, open the Configuration Parameters dialog box. On theCode Generation > Identifierspane, enter the keywords in theReserved namesfield.

If your model containsMATLAB Functionor Stateflow®blocks, the code generation process can use the reserved names specified for those blocks if you selectUse the same reserved names as Simulation Targeton theCode Generation > Identifierspane.