主要内容

Preserve extern keyword in function declarations

Preservation of the extern keyword in function declarations

Description

App Configuration Pane: Code Appearance

Configuration Objects: coder.EmbeddedCodeConfig

Whether the declarations of external functions produced by the code generator include the extern keyword.

Settings

On

This value is the default value.

The code generator includes the extern keyword in declarations for external functions.

Off

The code generator removes the extern keyword from function declarations.

Programmatic Use

Property: PreserveExternInFcnDecls
Values: true | false
Default: true

Version History

Introduced in R2011a