Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

 

The MathWorks Announces Automatic Generation of Embeddable C Code from MATLAB

Embedded MATLAB Subset Translates into Efficient Embedded Code


NATICK, Mass. - (1 Oct 2007)

The MathWorks today introduced the Embedded MATLAB™ subset of the industry-leading MATLAB® technical computing language. 

The Embedded MATLAB subset enables MATLAB users to generate highly efficient, embeddable C code directly from MATLAB programs, avoiding the common, time-consuming and error-prone process of rewriting MATLAB algorithms in C.

The Embedded MATLAB subset covers a broad range of MATLAB functionality with more than 270 MATLAB operators and functions and more than 90 Fixed-Point Toolbox functions. Embedded MATLAB supports many high-level MATLAB language features, such as multidimensional arrays, real and complex numbers, structures, flow control, and subscripting.   

The conversion to C code is performed by Real-Time Workshop® 7, a MathWorks product widely used for embedded code generation.   Real-Time Workshop automatically produces embedded C that is comparable to hand coding in size, performance, and memory use. A user can invoke Real-Time Workshop to work directly from a MATLAB M-file, or the file can be included by name in a Simulink® block diagram.  If Simulink is used, synthesizable Verilog and VHDL can also be generated, using Simulink HDL coder. In either case, the generated code is numerically equivalent to the Embedded MATLAB source code.

Early users say the technology promotes rapid, accurate embedded software development.  According to Matt Schurman, chief technology officer at GlucoLight Corporation, “By introducing the Embedded MATLAB language subset and Simulink in our design process, we virtually eliminated the errors previously experienced with manual code translation from MATLAB to C. At the same time we shortened the development of subsequent product generations - from design all the way to implementation” 

“MATLAB has always been many electronics engineers’ choice for algorithm development, and now Embedded MATLAB delivers what they want -- to keep using MATLAB as they design and implement those algorithms in embedded systems,” said Ken Karnofsky, marketing director, signal processing and communications, The MathWorks.

Pricing and Availability

Support for Embedded MATLAB technology is included in the latest release of these MathWorks products: MATLAB, Simulink, Fixed-Point Toolbox, Stateflow, SimEvents, and Simulink HDL Coder. Simulink and Real-Time Workshop are required products. For more information regarding Embedded MATLAB, visit http://www.mathworks.com/products/featured/embeddedmatlab.

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 of 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 2,000 people in 15 countries, with headquarters in Natick, Massachusetts, USA. For additional information, visit www.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.

Press Contacts

Len Dieterle
MathWorks
Tel: (508) 647-4404
Fax: (508) 647-7001
E-mail: len.dieterle@mathworks.com
Sean Audet
Text 100
Tel: (617) 723-1044
E-mail: mathworks@text100.com
Web: www.text100.com

Contact sales

MATLAB for Automated Trading

Automated Trader evaluates MATLAB as a platform for automated trading model development.

Read the review

Global Press