Products & Services Solutions Academia Support User Community Company

Learn more about Real-Time Workshop   

Model Header - Specify custom header code

Library

Custom Code

Description

The Model Header block adds user-specified custom code to the model.h file that the code generator creates for the model that contains the block.

Parameters

Top of Model Header

Code to be added at the top of the model's generated header file.

Bottom of Model Header

Code to be added at the top of the model's generated header file.

Example

See Example: Using a Custom Code Block.

See Also

Model Source, System Derivatives, System Disable, System Enable, System Initialize, System Outputs, System Start, System Terminate, System Update
Integrating External Code Using Custom Code Blocks in the Real-Time Workshop documentation

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS