MathWorks Introduces Automatic C Code Generation Directly from MATLAB Language

MATLAB Coder Eliminates Manual Recoding in the Algorithm-to-Implementation Workflow

Natick, Mass. - (8 Apr 2011)

Code generation from MATLAB Coder. Develop algorithms (left) in MATLAB and then use the MATLAB Coder project manager interface (center) to automatically  generate portable, readable C code (right).
Code generation from MATLAB Coder. Develop algorithms (left) in MATLAB and then use the MATLAB Coder project manager interface (center) to automatically generate portable, readable C code (right).

MathWorks today announced the availability of MATLAB Coder, which enables design engineers to automatically generate readable, portable C and C++ code directly from their MATLAB algorithms. This new product eliminates the need to manually translate MATLAB algorithm code into C and C++ code for prototyping, implementation, and software integration. This automation results in a faster, more efficient system-development workflow.

The design of algorithm-intensive electronic and communications systems typically begins with MATLAB. The MATLAB algorithms eventually need to be converted into C code for integration into the final product. Manually converting from MATLAB to C can take from days to weeks, introduce design errors, and contribute to time-to-market delays. Now design engineers can use MATLAB to speed up development tasks, such as fixed-point design and prototyping, and then automatically generate C code with MATLAB Coder.

MATLAB Coder supports an extensive set of MATLAB language features for algorithm development, including built-in matrix math operators and dynamic array handling. Hundreds of operators, functions, and System objects are supported, including many advanced algorithms for DSP and communications.

Along with the introduction of MATLAB Coder, MathWorks released Simulink Coder and Embedded Coder. These two new products simplify code generation for Simulink and Stateflow users by combining capabilities previously available in multiple MathWorks offerings. The new products incorporate the industry-proven Real-Time Workshop technology, and offer full code generation support for rapid prototyping, real-time testing, and production embedded system implementation with built-in links to embedded development environments.

“Automatic C code generation from Simulink has transformed embedded system development in many organizations for more than a decade,” said Ken Karnofsky, senior strategist at MathWorks. “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.”

About MathWorks

MathWorks is the leading developer of mathematical computing software.  MATLAB, the language of technical computing, is a programming environment for algorithm development, data analysis, visualization, and numeric computation.  Simulink is a graphical environment for simulation and Model-Based Design for multidomain dynamic and embedded systems.  Engineers and scientists worldwide rely on these product families to accelerate the pace of discovery, innovation, and development in automotive, aerospace, electronics, financial services, biotech-pharmaceutical, and other industries.   MathWorks products are also fundamental teaching and research tools in the world's universities and learning institutions.  Founded in 1984, MathWorks employs more than 2400 people in 15 countries, with headquarters in Natick, Massachusetts, USA.  For additional information, visit mathworks.com.

MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.