Guy on Simulink

Simulink & Model-Based Design

Welcome to the Coders!

Blogger, Guy RouleauBy Guy Rouleau

Did you already install MATLAB R2011a?

If you are used to generating code from Simulink, the first thing you probably thought after launching MATLAB R2011a is: "Where is Real-Time Workshop?"

Don't panic, this is normal! All good things have an end; it is now time to say goodbye Real-Time Workshop, and welcome Simulink Coder. I officially proclaim: Le Roi est mort, vive le Roi!

Consolidation of Code Generation Products

Before introducing the cool new Simulink R2011a features, I want to describe a significant reorganization of the code generation products. Since an image is worth a thousand words, here is what happened:

Change in product names in MATLAB R2010a

Let's describe how features are divided among these three products:

MATLAB Coder

Traditionally, MathWorks code generation products have all been centered around Simulink. However in the last few years we've received more and more requests to generate code for prototyping and embedded processors directly from MATLAB code. It is difficult to admit for a Simulink fan like me, but it is true that some algorithms are easier to implement in MATLAB code than using blocks. This is particularly the case for many algorithms in digital signal processing and communications systems.

In addition to all the Embedded MATLAB features previously included with Real-Time Workshop, MATLAB Coder includes some cool new stuff, for example the coder function to start a MATLAB Coder Project using a graphical interface:

MATLAB Coder Project Interface

Simulink Coder

Simulink Coder combines the previous functionality of Real-time Workshop and Stateflow Coder. This means one single product to generate code for all Simulink multidomain models, regardless of which add-on products are used to create those models.

Embedded Coder

The Embedded Coder consolidates all MathWorks code generation tools for embedded system development into a single product:

  • The previous features of Real-Time Workshop Embedded Coder for generating production embedded code.
  • Processor and board specific customization previously included with Target Support Package.
  • Tools to integrate popular embedded toolchains previously included with Embedded IDE Link.


Now it's your turn

Are you going to take advantage of the new MATLAB Coder? Let us know how by leaving a comment here.

|
  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.