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
Default: On
Remove unreachable instances of the reset
functions
from the generated code for ERT-based systems that include model referencing
hierarchies.
Generate code without removing unreachable instances of the reset
function.
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
.
Parameter: RemoveResetFunc |
Value: 'on' or 'off' |
Default: 'on' |