Generate C++ namespaces from MATLAB namespaces - Generate C++ namespaces for MATLAB namespaces - MATLAB (original) (raw)
Generate C++ namespaces for MATLAB namespaces
Since R2024a
Description
App Configuration Pane: C++ Language Features
Configuration Objects: coder.MexCodeConfig | coder.CodeConfig | coder.EmbeddedCodeConfig
Whether to generate C++ namespaces for the namespaces in your MATLAB code.
Dependencies
Setting the Language parameter to C++
enables this parameter.
Settings
On
The code generator produces C++ namespaces for the namespaces in your MATLAB code. This value is the default value.
Off
The code generator does not produce C++ namespaces for the namespaces in your MATLAB code.
Programmatic Use
**Property:**CppPreserveNamespaces |
---|
Values: true |false |
Default: true |
Version History
Introduced in R2024a
See Also
coder.MexCodeConfig | coder.CodeConfig | coder.EmbeddedCodeConfig