Specify whether to generate the root-level I/O structure as a public
,
private
, or protected
data member of the C++ model
class.
Category: Code Generation > Interface
Default:
private
public
Generates the root-level I/O structure as a public
data member
of the C++ model class.
protected
Generates the root-level I/O structure as a protected
data
member of the C++ model class.
private
Generates the root-level I/O structure as a private
data member
of the C++ model class.
The generated code reduces the MISRA C++ 2008 Rule 11-0-1 violations.
This parameter appears only for ERT-based targets with parameter
Language set to C++
and parameter
Code interface packaging set to C++
class
.
This parameter requires Embedded Coder® when generating code.
This parameter is not enabled when External I/O access is set to
None
.
Parameter:
ExternalIOMemberVisibility |
Type: character vector |
Value:
'public' | 'private' |
'protected' |
Default:
'private' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No recommendation |