Is it possible to convert MATLAB code to C code?

19 views (last 30 days)
I would like translate my MATLAB code to C code for use in projects outside of MATLAB.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 29 Jun 2011
As of release R2011a, we have a product MATLAB® Coder™ that generates standalone C and C++ from MATLAB® code. The generated source code is portable and readable. MATLAB Coder supports a subset of core MATLAB language features, including program control constructs, functions, and matrix operations. It can generate MEX functions that let you accelerate computationally intensive portions of MATLAB code and verify the behavior of the generated code.
For more information about the MATLAB Coder, please see:

More Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Products


Release

R14SP1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!