Legacy Code Integration

Integrate existing C or C++ functions, such as device drivers or external simulation code


legacy_codeUse Legacy Code Tool


Integrate C Functions Using Legacy Code Tool

How to use the Legacy Code Tool to generate S-functions automatically from existing C code.

S-Functions Incorporate Legacy C Code

Compares how to incorporate legacy C code using a handwritten C MEX S-function, the S-Function Builder, and the Legacy Code Tool.

Integrate C Code Using the MATLAB Function Block

Describes how to use MATLAB Function block to call external C code and how to control enumeration and bus typedefs

Was this topic helpful?