Use local custom code settings (do not inherit from main model)

Description

Specify if a library model can use custom code settings that are unique from the main model.

Category: Simulation Target

Settings

Default: On

On

Enables a library model to use custom code settings that are unique from the main model.

Off

Disables a library model from using custom code settings that are unique from the main model.

Dependency

This parameter is available only for library models that contain MATLAB Function blocks, Stateflow® charts, or Truth Table blocks. To access this parameter, in the MATLAB Function Block Editor, in the Simulink tab, select Simulation Target.

Command-Line Information

Parameter: SimUseLocalCustomCode
Value: 'on' | 'off'
Default: 'on'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precaution

No recommendation

Related Topics