Main Content

Parameter access

Description

Specify whether to generate access methods for block parameters for the C++ model class.

Category: Code Generation > Interface

Settings

Default: None

None

Does not generate access methods for block parameters for the C++ model class.

Method

Generates noninlined access methods for block parameters for the C++ model class.

Inlined method

Generates inlined access methods for block parameters for the C++ model class.

Dependencies

  • 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 an Embedded Coder® license when generating code.

Command-Line Information

Parameter: GenerateParameterAccessMethods
Type: character vector
Value: 'None' | 'Method' | 'Inlined method'
Default: 'None'

Recommended Settings

ApplicationSetting
DebuggingInlined method
TraceabilityInlined method
EfficiencyInlined method
Safety precaution

No recommendation

Related Topics