This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Legacy Code Integration

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


legacy_code Use 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?