Main Content

Include headers

Description

Specify interface header code containing types and function declarations to import into Simulink®.

Category: Simulation Target

Settings

Default: ' '

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