Generate destructor
Description
Specify whether to generate a destructor for the C++ model class.
Category: Code Generation > Interface
Settings
Default: on
On
Generates a destructor for the C++ model class.
Off
Does not generate a destructor for the C++ model class.
Dependencies
This parameter appears only for ERT-based targets with Language set to
C++
and Code interface packaging set toC++ class
.This parameter requires an Embedded Coder® license when generating code.
Command-Line Information
Parameter:
GenerateDestructor |
Type: character vector |
Value:
'on' | 'off' |
Default:
'on' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No recommendation |