Main Content

Header file

Description

Enter code lines to appear near the top of a generated header file.

Category: Simulation Target

Settings

Default: ' '

Code lines appear near the top of the generated model.h header file.

Tips

  • When you include a custom header file, enclose the file name in double quotes. For example, #include "sample_header.h" is a valid declaration for a custom header file.

  • You can include extern declarations of variables or functions.

Command-Line Information

Parameter: SimCustomHeaderCode
Type: character vector
Value: any C code
Default: ''

Recommended Settings

ApplicationSetting
Debugging

No recommendation

Traceability

No recommendation

Efficiency

No recommendation

Safety precaution

No recommendation

Related Topics