Language - Language to use in generated code - MATLAB (original) (raw)

Language to use in generated code

Description

App Configuration Pane: Output

Configuration Objects: coder.MexCodeConfig | coder.CodeConfig | coder.EmbeddedCodeConfig

Language to use in generated code, specified as 'C' or'C++'.

When using GPU Coderâ„¢, the code generator sets TargetLang toC++.

Dependencies

If DeepLearningConfig is set, codegen setsTargetLang to C++.

Settings

C

This setting is the default setting.

Specifies C language.

C++

Specifies C++ language.

Programmatic Use

**Property:**TargetLang
Values: 'C' |'C++'
Default: 'C'

Version History

Introduced in R2011a

See Also

coder.MexCodeConfig | coder.CodeConfig | coder.EmbeddedCodeConfig