Embedded: Porting MatLab to an embedded system near you

The Mathworks eased development of compute-intensive applications for embedded systems by introducing Embedded Matlab, a subset of the company’s popular Matlab suite of software. The set of functions enables users to generate highly efficient, embeddable C code directly from Matlab programs, avoiding the time-consuming and error-prone process of rewriting algorithms in C after developing and testing them in Matlab.


Natick, MA

The Mathworks

eased development of compute-intensive applications for embedded systems by introducing Embedded Matlab ,Matlab.

Embedded Matlab allows users to develop and test mathematically complex algorithms in Matlab, then convert the software to C code directly, according to

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. It allows a user to generate code from Matlab M-files, or include a call to the M-file by name in a Simulink block diagram. If Simulink is used, synthesizable Verilog and VHDL can also be generated via the Simulink HDL coder. In either case, the generated code is numerically equivalent to the Embedded Matlab source code.

“In the past,” says Ken Karnofsky, marketing director of signal processing and communications at The Mathworks, “embedded system developers could use Matlab to write test data and create nice graphical displays controlled by Simulink. What they couldn’t do was that final connecting of the dots; they just couldn’t get that algorithm into embedded code in an efficient manner.”

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

For related reading, see:

Programming: Blockset models behavior of radio frequency components

Renee Robbins and C.G. Masi , Control Engineering
( Register here and scroll down to select your choice of eNewsletters free .)

No comments
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Make Big Data and Industrial Internet of Things work for you, 2017 Engineers' Choice Finalists, Avoid control design pitfalls, Managing IIoT processes
Engineering Leaders Under 40; System integration improving packaging operation; Process sensing; PID velocity; Cybersecurity and functional safety
Mobile HMI; PID tuning tips; Mechatronics; Intelligent project management; Cybersecurity in Russia; Engineering education; Road to IANA
This article collection contains several articles on the Industrial Internet of Things (IIoT) and how it is transforming manufacturing.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

SCADA at the junction, Managing risk through maintenance, Moving at the speed of data
Flexible offshore fire protection; Big Data's impact on operations; Bridging the skills gap; Identifying security risks
The digital oilfield: Utilizing Big Data can yield big savings; Virtualization a real solution; Tracking SIS performance
click me