Specify whether to generate internal data structures such as Block I/O, DWork vectors,
Run-time model, Zero-crossings, and continuous states as public
,
private
, or protected
data members of the C++ model
class.
Category: Code Generation > Interface
Default:
private
public
Generates internal data structures as public
data members of
the C++ model class.
private
Generates internal data structures as private
data members of
the C++ model class.
protected
Generates internal data structures as protected
data members of
the C++ model class.
This parameter appears only for ERT-based targets with Language
set to C++
and Code interface packaging
set to C++ class
.
This parameter requires an Embedded Coder® license when generating code.
Parameter:
InternalMemberVisibility |
Type: character vector |
Value:
'public' | 'private' |
'protected' |
Default:
'private' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No recommendation |