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.
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.