Generating C Code from Your MATLAB Algorithms

By Arvind Ananthan, MathWorks

In April 2011, MathWorks introduced MATLAB Coder™ as a standalone product to generate C code from MATLAB® code. MATLAB Coder lets users generate readable, portable, and customizable C code from their MATLAB algorithms.

This blog post introduces the basics of using MATLAB Coder, and then presents a complete, iterative workflow to guide you through the task of code generation incrementally. The workflow uses sample MATLAB code implementing the Newton-Raphson numerical technique for computing the n-th root of a real valued number.

This post was published on the blog Loren on the Art of MATLAB.

Read full post.

Published 2011

Start a new search