| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |

| On this page… |
|---|
Enter reserved names for a model that contains Embedded MATLAB Function blocks, Stateflow charts, or Truth Table blocks.
Click Apply.
Enter the names of variables or functions in the generated code that match the names of variables or functions specified in custom code for a model that contains Embedded MATLAB Function blocks, Stateflow charts, or Truth Table blocks.
Default: {}
This action changes the names of variables or functions in the generated code to avoid name conflicts with identifiers in custom code. Reserved names must be shorter than 256 characters.
Start each reserved name with a letter or an underscore to prevent error messages.
Each reserved name must contain only letters, numbers, or underscores.
Separate the reserved names using commas or spaces.
You can also specify reserved names by using the command line:
config_param_object.set_param('SimReservedNameArray', {'abc','xyz'})where config_param_object is the object handle to the model settings in the Configuration Parameters dialog box.
| Parameter: SimReservedNameArray |
| Type: string array |
| Value: any reserved names shorter than 256 characters |
| Default: {} |
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution | No impact |
![]() | Simulation Target Pane: General | Simulation Target Pane: Custom Code | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |