Main Content

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 containMATLAB Functionblocks, Stateflow®charts, or Truth Table blocks. To access this parameter, in theMATLAB FunctionBlock Editor, in the金宝apptab, selectSimulation Target.

Command-Line Information

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

Recommended Settings

Application Setting
Debugging No impact
Traceability No impact
Efficiency No impact
Safety precaution

No recommendation

Related Topics