Simulation Target Pane: Symbols

Simulation Target: Symbols Tab Overview

Configuration

  1. Enter reserved names for a model that contains MATLAB Function blocks, Stateflow® charts, or Truth Table blocks.

  2. Click Apply.

Tip

To open the Simulation Target: Symbols pane, in the Simulink® Editor, select Simulation > Model Configuration Parameters > Simulation Target > Symbols.

See Also

Reserved names

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 MATLAB Function blocks, Stateflow charts, or Truth Table blocks.

Settings

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.

Tips

  • 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.

Command-Line Information

Parameter: SimReservedNameArray
Type: string array
Value: any reserved names shorter than 256 characters
Default: {}

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

See Also

Was this topic helpful?