Interface style
Interface style for generated C++ code
Description
App Configuration Pane: C++ Language Features
Configuration Objects: coder.CodeConfig
| coder.EmbeddedCodeConfig
Style of interface to the generated C++ code for the MATLAB® entry-point functions that you generate code from..
Dependencies
Setting the Language parameter to C++
enables this
parameter.
Settings
Each entry-point function is generated as a C++ function
The code generator generates C++ functions from your MATLAB entry-point functions. This setting is the default setting.
Each entry-point function is generated as a method in a C++ class
The code generator generates methods in a C++ class from your MATLAB entry-point functions. Specify the name of the C++ class by using the parameter C++ interface class name.
Programmatic Use
Property:
CppInterfaceStyle |
Values: 'Functions' |
'Methods' |
Default:
'Functions' |
Version History
Introduced in R2019b