Using Legacy Code with MATLAB Coder

Some examples on building MATLAB code with existing C code

You are now following this Submission

This file exchange submission contains some examples on how to include
custom C code when using MATLAB Coder, and how to support an implementation
for standard MATLAB functions not supported by MATLAB Coder. It also shows
how the build process can be more streamlined.
More information may be added here later, but for the moment, the examples must be understood by reading them.
The code in this example is described in more detail in this article: http://www.mathworks.com/company/newsletters/articles/using-legacy-code-with-matlab-coder.html?refresh=true

Cite As

Anders Sollander (2026). Using Legacy Code with MATLAB Coder (https://in.mathworks.com/matlabcentral/fileexchange/51553-using-legacy-code-with-matlab-coder), MATLAB Central File Exchange. Retrieved .

Categories

Find more on MATLAB Coder in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.1

Updated license

1.1.0.0

Added link to article.

1.0.0.0

Added some code anylsis relevant comments in some files.