infoTECH Feature

April 13, 2011

Automatic C Code Generation from MATLAB Language Introduced by MathWorks

It was recently announced by MathWorks that a MATLAB Coder was available that would enable design engineers to automatically generate readable, portable C and C++ code directly from their MATLAB algorithms. The MATLAB Coder eliminates manual translation of MATLAB algorithm code into C and C++ code for prototyping, implementation, and software integration resulting in faster and more efficient system-development workflow.

Typically the design of algorithm-intensive electronic and communications systems starts with MATLAB. Then the algorithms are converted into C code and integrated to the final product. This process when done manually is time intensive as well as error prone and contributes to time-to-market delays. Now, the development tasks like fixed-point design and prototyping can be finished quickly by design engineers and then C Code can be automatically generated using the MATLAB Coder.

An extensive set of MATLAB language features for algorithm development, including built-in matrix math operators and dynamic array handling is supported by the MATLAB Coder. A number of advanced algorithms for DSP and communications are also supported besides hundreds of operators, functions, and System objects.

MathWorks also released Simulink Coder and Embedded Coder along with the MATLAB Coder. Code generation is simplified for Simulink and Stateflow users by combining capabilities previously available in various MathWorks products. Besides incorporating the Real-Time Workshop technology, the new products offer full code generation support for rapid prototyping, real-time testing, and production embedded system implementation with built-in links to embedded development environments.

Ken Karnofsky, senior strategist at MathWorks said, “Automatic C code generation from Simulink has transformed embedded system development in many organizations for more than a decade. Now, MATLAB Coder brings those productivity gains to engineers who use MATLAB to develop algorithms for electronic and embedded systems. With MATLAB Coder, Simulink Coder, and Embedded Coder, MathWorks offers a simple and more comprehensive code generation offering for all of its customers.”

In other news, MathWorks recently announced today the availability of Release 2011a (R2011a) MATLAB and Simulink product families.

Included in this release is a new generation of code generation products, MATLAB Coder, Simulink Coder and Embedded Coder, as well as updates for 80 other products, including Polyspace embedded software verification products.

R2011a is the 11th consecutive six-month release from the company. It is available immediately and is being provided to users around the world with current subscriptions to MathWorks Software Maintenance Service for immediate installation.



Calvin Azuri is a contributing editor for TMCnet. To read more of Calvin’s articles, please visit his columnist page.

Edited by Jennifer Russell
FOLLOW US

Subscribe to InfoTECH Spotlight eNews

InfoTECH Spotlight eNews delivers the latest news impacting technology in the IT industry each week. Sign up to receive FREE breaking news today!
FREE eNewsletter

infoTECH Whitepapers