Sharing Utility Code

Set up reusable code for sharing

When you set up sharing utility code, code generation produces shared utility files for blocks in a model. These blocks require common functionality to implement their algorithm. Other models with an identical shared utility checksum can re-use the code in these shared utility files.


Generate Shared Utility Code

Modularize and share common Model block functionality as helper functions.

Generate Shared Utility Code for Fixed-Point Functions

Generate reusable code for fixed-point support functions.

Generate Shared Utility Code for Custom Data Types

Generate reusable code for custom data types.