Main Content

Source file

Code to appear near the top of generated .c or .cpp files

Description

App Configuration Pane: Custom Code

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

Code to appear near the top of each generated .c or .cpp file (except rtwhalf.c or rtwhalf.cpp), outside of any function.

Do not specify a C static function definition.

Settings

character vector

Code to appear near the top of each generated .c or .cpp file (except rtwhalf.c or rtwhalf.cpp), specified as a character vector.

Programmatic Use

Property: CustomSourceCode
Values: character vector

Version History

Introduced in R2011a