Remove reset function

Description

Remove unreachable (dead-code) instances of the reset functions from the generated code for ERT-based systems that include model referencing hierarchies. If you enable this parameter, Simulink® checks that live code will be removed and errors if it finds such code.

Category: Code Generation > Interface

Settings

Default: On

On

Remove unreachable instances of the reset functions from the generated code for ERT-based systems that include model referencing hierarchies.

Off

Generate code without removing unreachable instances of the reset function.

Dependencies

This parameter requires an Embedded Coder® license.

To set the Remove reset function parameter, set Configuration Parameters > Code Generation > System target file parameter to an ERT-based system target file, such as ert.tlc.

Command-Line Information

Parameter: RemoveResetFunc
Value: 'on' or 'off'
Default: 'on'

Related Topics