What Is External Code Integration?
Software projects typically involve combining code from multiple sources. A typical system structure for a code generation application consists of a framework that combines code from multiple sources, including external code and code generated from Simulink® models.
This figure shows an application that requires integration of existing driver code for hardware devices. The core software algorithms and logic can be a combination of code modules for external reusable algorithms integrated into the Simulink environment and code generated as part of an overall model design.
Several workflows and tools are available for you to integrate external and generated code. Each workflow identifies tooling for generating code that aligns interfaces, code appearance, and other factors, such as optimization between external and generated code.