| Contents | Index |
This table summarizes what is new in Version 6.0 (R2011a):
| New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems |
|---|---|---|
| Yes Details below | Yes—Details labeled as Compatibility Considerations, below. See also Summary | Bug
Reports Includes fixes |
New features and changes introduced in this version are:
New Model Advisor Check for Code Efficiency of Lookup Table Blocks
Target Function Library Support for abs, min, max, and sign functions
C++ Encapsulation Allowed for Referenced Models in For Each Subsystems
Replacement Data Types and Simulation Mode for Referenced Models
In R2011a, the Embedded Coder product replaces the Real-Time Workshop® Embedded Coder product. Additionally,
The Simulink Coder product combines and replaces the Real-Time Workshop and Stateflow® Coder™ products
The Real-Time Workshop facility for converting MATLAB code to C/C++ code, formerly referred to as Embedded MATLAB® Coder, has migrated to the new MATLAB Coder product.
The previously existing Embedded IDE Link™ and Target Support Package™ products have been integrated into the new Simulink Coder and Embedded Coder products.
The following figure shows the R2011a transitions for C/C++ code generation related products, from the R2010b products to the new MATLAB Coder, Simulink Coder, and Embedded Coder products.

If you are upgrading to Embedded Coder from Real-Time Workshop Embedded Coder, review information about compatibility and upgrade issues at the following locations:
Compatibility Summary for Embedded Coder Software (latest release)
On the MathWorks web site, in the Archived documentation, select R2010b, and view the following tables, which are provided in the release notes for Real-Time Workshop Embedded Coder: Compatibility Summary for Real-Time Workshop Embedded Coder Software:
This table provides compatibility information for releases up through R2010b.
If you use the Embedded IDE Link or Target Support Package capabilities that now are integrated into Simulink Coder and Embedded Coder, go to the Archived documentation and view the corresponding tables for Embedded IDE Link or Target Support Package:
Compatibility Summary for Embedded IDE Link (R2010b)
Compatibility Summary for Target Support Package (R2010b)
You can also refer to the rest of the archived documentation, including release notes, for the Real-Time Workshop, Stateflow Coder, Embedded IDE Link, and Target Support Package products.
In R2011a, the MATLAB Coder function codegen replaces the Real-Time Workshop function emlc. The emlc function still works in R2011a but generates a warning, and will be removed in a future release. For more information, see Generating C/C++ Code from MATLAB Code in the MATLAB Coder documentation.
In R2011a, the capabilities formerly provided by the Embedded IDE Link and Target Support Package products have been integrated into Simulink Coder and Embedded Coder. The following table summarizes the transition of the Embedded IDE Link and Target Support Package supported hardware and software into Coder products.
| Former Product | Supported Hardware and Software | Simulink Coder | Embedded Coder |
|---|---|---|---|
| Embedded IDE Link | Altium TASKING | x | |
| Analog Devices VisualDSP++ | x | ||
| Eclipse IDE | x | x | |
| Green Hills MULTI | x | ||
| Texas Instruments Code Composer Studio | x | ||
| Target Support Package | Analog Devices Blackfin® | x | |
| ARM | x | ||
| Freescale MPC5xx | x | ||
| Infineon C166 | x | ||
| Texas InstrumentsC2000™ | x | ||
| Texas InstrumentsC5000™ | x | ||
| Texas InstrumentsC6000™ | x | ||
| Linux OS | x | x | |
| Windows OS | x | ||
| VxWorks RTOS | x |
You will see interface changes as part of restructuring the Coder products.
In the Simulink Configuration Parameters dialog box, changes to code generation related elements
In Simulink menus, changes to code generation related elements
In Simulink blocks, including block parameters and dialog boxes, and block libraries, changes to code generation related elements
In error messages, tool tips, demos, and product documentation, references to Real-Time Workshop Embedded Coder, Real-Time Workshop, and Stateflow Coder and related terms are replaced with references to the latest software
| Where... | Previously... | Now... |
|---|---|---|
| Configuration Parameters dialog box | Real-Time Workshop pane | Code Generation pane |
| Model diagram window | Tools > Real-Time Workshop | Tools > Code Generation |
| Subsystem context menu | Real-Time Workshop | Code Generation |
| Subsystem Parameter dialog box | Following parameters on main pane:
| On new Code Generation pane and renamed:
|
In the Help browser Contents pane, Embedded Coder is now listed with the products for MATLAB, because Embedded Coder now supports both MATLAB Coder and Simulink Coder workflows.
No Longer Able to Set RTWInfo or CustomAttributes Property of Simulink Data Objects
Simulink.CustomParameter and Simulink.CustomSignal Data Classes To Be Deprecated in a Future Release
Pragmas are now added to data and function declarations (prior to R2011a they were added to definitions only); at compile time, this makes the compiler aware of memory locations for functions and data, potentially optimizing generated code
New function category is available for shared utilities on the Code Generation > Memory Sections pane: Shared utility
Referenced models can have a memory section that is different from that of the top model for the InitTerm and Execute function categories
You can no longer set the RTWInfo or CustomAttributes property of a Simulink data object from the MATLAB Command Window or a MATLAB script. Attempts to set these properties generate an error.
Although you cannot set RTWInfo or CustomAttributes, you can still set subproperties of RTWInfo and CustomAttributes.
Compatibility Considerations. Operations from the MATLAB Command Window or a MATLAB script, which set the data object property RTWInfo or CustomAttributes, generate an error.
For example, a MATLAB script might set these properties by copying a data object as shown below:
a = Simulink.Parameter; b = Simulink.Parameter; b.RTWInfo = a.RTWInfo; b.RTWInfo.CustomAttributes = a.RTWInfo.CustomAttributes; . . .
To copy a data object, use the object's deepCopy method.
a = Simulink.Parameter; b = a.deepCopy; . . .
Simulink has been generating warnings for usage of the following data class infrastructure features for several releases. As of R2011a, the features are no longer supported.
Custom storage classes not captured in the custom storage class registration file (csc_registration) – warning displayed since R14SP2
Built-in custom data class attributes BitFieldName and FileName+IncludeDelimiter – warning displayed since R2008b
| Instead of... | Use... |
|---|---|
| BitFieldName | StructName |
| FileName+IncludeDelimiter | HeaderFile |
Initial value of MPT data objects inside mpt.CustomRTWInfoSignal – warning displayed since R2006a
When you use a removed feature, Simulink now generates an error.
When loading a MAT-file that uses an unsupported feature, the load operation suppresses the generated error such that it is not visible. In addition, MATLAB silently deletes data that had been associated with the unsupported feature. To prevent loss of data when loading a MAT-file, load and resave the file with R2010b or earlier.
The code generator no longer generates a pragma around definitions or declarations for data that has the following built-in storage classes:
ExportedGlobal
ImportedExtern
ImportedExternPointer
Prior to R2011a, based on model configuration parameters for specifying memory sections and the built-in storage class defined for data, the code generator would do the following:
| For Built-In Storage Class... | Generate pragma Around... |
|---|---|
| ExportedGlobal | Data definition and declaration |
| ImportedExtern | Data declaration |
| ImportedExternPointer | Data declaration |
The code generator now treats data with these built-in storage classes like custom storage classes with no memory section specified.
Compatibility Considerations. To work around this change, select a custom storage class that uses the memory section of interest for the data.
In a future release, data classes Simulink.CustomParameter and Simulink.CustomSignal will no longer be supported because they are equivalent to Simulink.Parameter and Simulink.Signal.
Compatibility Considerations. If you use the data class Simulink.CustomParameter or Simulink.CustomSignal, Simulink posts a warning that identifies the class and describes one or more techniques for eliminating it. You can ignore these warnings in R2011a, but consider making the described changes now because the classes will be removed in a future release.
The following enhancements are available in R2011a.
Previously, the software supported only calibration parameters that were defined by a calibration component. These parameters could be accessed by all AUTOSAR Software Components. The AUTOSAR standard also specifies an internal calibration parameter that is defined and accessed by only one AUTOSAR Software Component. The software now supports:
AUTOSAR internal calibration parameters, including the import and export of initial values of these parameters.
A bus object data type (AUTOSAR record type) to import and export both kinds of calibration parameters.
For more information, see Calibration Parameters and Configure Calibration Parameters in the Embedded Coder documentation.
Previously, if a wrapper subsystem had virtual subsystems containing function-call subsystems, you could not export the function-call subsystems as AUTOSAR runnables from the wrapper subsystem level. Now, within a wrapper subsystem, you can group function-call subsystems into virtual subsystems and generate runnables for these function-call subsystems. See Configure Multiple Runnables and Export AUTOSAR Software Component in the Embedded Coder documentation.
The AUTOSAR standard specifies that the XML description of an AUTOSAR Software Component implementation must contain code descriptor elements to describe generated source files and include header files. This feature allows AUTOSAR authoring tools that import software components to automate the building process for source code.
Previously, the software did not generate the software component implementation file (modelname_implementation.arxml) with these code descriptor elements. Now, when you build a Simulink model for an AUTOSAR target, the software generates a CODE-DESCRIPTORS element within the SWC_IMPLEMENTATION element. The CODE-DESCRIPTORS element contains XFILE elements that provide descriptions of the generated code.
For example, if you build the model rtwdemo_autosar_counter, the generated file rtwdemo_autosar_counter_implementation.arxml has the following SWC_IMPLEMENTATION element:
....
<SWC-IMPLEMENTATION>
<SHORT-NAME>rtwdemo_autosar_counter</SHORT-NAME>
<CODE-DESCRIPTORS>
<CODE>
<SHORT-NAME>Code</SHORT-NAME>
<TYPE>SRC</TYPE>
<XFILES>
<XFILE>
<SHORT-NAME>rtwdemo_autosar_counter_c</SHORT-NAME>
<CATEGORY>GeneratedFile</CATEGORY>
<URL>rtwdemo_autosar_counter_autosar_rtw\rtwdemo_autosar_counter.c</URL>
<TOOL>Embedded Coder</TOOL>
<TOOL-VERSION>5.6</TOOL-VERSION>
</XFILE>
<XFILE>
<SHORT-NAME>rtwdemo_autosar_counter_h</SHORT-NAME>
<CATEGORY>GeneratedFile</CATEGORY>
<URL>rtwdemo_autosar_counter_autosar_rtw\rtwdemo_autosar_counter.h</URL>
<TOOL>Embedded Coder</TOOL>
<TOOL-VERSION>5.6</TOOL-VERSION>
</XFILE>
...
</XFILES>
</CODE>
</CODE-DESCRIPTORS>
<CODE-GENERATOR>Embedded Coder 5.6 (R2011a) 26-Aug-2010</CODE-GENERATOR>
<PROGRAMMING-LANGUAGE>C</PROGRAMMING-LANGUAGE>
</SWC-IMPLEMENTATION>
....You can collect execution time measurements in a specified base workspace variable during a software-in-the-loop (SIL) or processor-in-the-loop (PIL) simulation. At the end of the simulation, you can view or analyze the measurements within the MATLAB environment. This feature allows you to collect an execution time profile for each task within your generated code.
The software supports code execution profiling for all types of SIL or PIL simulations except the SIL block.
For more information, see Code Execution Profiling in the Embedded Coder documentation.
R2011a supports parameter tuning for the PIL block, which allows you to change tunable workspace parameters between or during simulations without regenerating code. This feature also includes support for tunable structure parameters. For more information, see I/O Support and Tunable Parameters and SIL/PIL.
R2011a supports automatic definition and initialization of parameters with imported storage classes. For more information, see I/O Support and Imported Data Definitions.
Previously, the software did not support the following features for Model block SIL/PIL:
Simplified initialization mode
Tunable structure parameters
R2011a now supports these features. For more information, see Configuration Parameters Support, I/O Support, and Tunable Parameters and SIL/PIL.
Previously, the generated code for a Data Store Memory block used data copies to perform data store assignments. The generated code now eliminates the data copies and performs an in-place assignment. This improvement generates less code, uses less memory, and provides faster execution.
Enhancements to Target Function Library Replacements (TFL) include:
If multiple TFL replacements occur within a function, temporary variables are now reused instead of creating extra temporary variables. This enhancement reduces the stack size during TFL replacement.
During TFL replacement, if unnecessary temporary variables are introduced when block output is not the returned value of the function but one of the input arguments, code generation now removes the temporary variable. This enhancement improves execution speed and requires less memory.
For more information, see Introduction to Code Replacement Libraries.
Code generation now includes the following:
An improved loop fusion algorithm that reduces data copies. This enhancement decreases stack size, ROM consumption, and code generation time.
Selectively fuses loops when the loop count is larger than the Loop unrolling threshold. In these cases, loop unrolling allows the code generator to perform more optimizations. In addition, the code generator groups the statements together to assign values to the elements of a signal or parameter array, which improves data access and code readability.
The generated code is optimized for more efficient array indexing. When a complex instruction is used repeatedly in an array index, the instruction is replaced with a temporary variable to perform the calculation more efficiently. This enhancement improves execution speed and reduces code size.
For matrix parameters with the same flattened value, the generated code now pools the matrix parameters even when they have different shapes. This enhancement reduces ROM consumption.
For references to the root inport and outport, as well as DWork, unnecessary parentheses are removed from the generated code. This enhancement produces more readable code.
In R2011a, the cgv.CGV class includes new methods to add callback functions. These methods replace the cgv.CGV.addCallback method which added only a pre-execution callback function. Now, the new methods allow CGV to invoke callback functions at several stages of the cgv.CGV.run execution. The new methods are:
cgv.CGV.addHeaderReportFcn adds a callback function invoked before executing any input data in the cgv.CGV object.
cgv.CGV.addPreExecReportFcn adds a callback function invoked before executing each input data file in the cgv.CGV object.
cgv.CGV.addPreExecFcn adds a callback function invoked before executing each input data file in the cgv.CGV object.
cgv.CGV.addPostExecReportFcn adds a callback function invoked after executing each input data file in the cgv.CGV object.
cgv.CGV.addPostExecFcn adds a callback function invoked after executing each input data file in the cgv.CGV object.
cgv.CGV.addTrailerReportFcn adds a callback function invoked after executing all input data in the cgv.CGV object.
The cgv.CGV class now includes the following methods:
cgv.CGV.activateConfigSet activates the configuration set of a model.
cgv.CGV.addBaseline adds a file of baseline data for comparison.
cgv.CGV.copySetup creates a copy of a cgv.CGV object.
cgv.CGV.setMode specifies the mode of execution (sim, sil, or pil).
cgv.CGV.copySetup returns the status of the execution of the cgv.CGV object.
The cgv.CGV class now includes the following properties:
Name
Description
Previously, the cgv.CGV class included parameters that you set to perform automatic configuration checks of your model. In R2011a, cgv.CGV class no longer performs automatic configuration checks. Instead, you can use the cgv.Config class to perform a manual configuration check of your model. Before calling cgv.CGV.run, perform a manual configuration check of your model. Otherwise, an error might occur later in the process. For more information, see Programmatic Code Generation Verification.
Changes to the cgv.CGV class parameters are listed in the following table.
| Parameter | What Happens When You Use Parameter? | Use This Parameter Instead | Compatibility Considerations |
|---|---|---|---|
| LogMode removed from cgv.CGV | Errors | LogMode parameter in cgv.Config | To check your model before running CGV, pass the LogMode parameter to the constructor for cgv.Config. Then call the cgv.Config.configModel method to adjust the model configuration. |
| Processor removed from cgv.CGV | Errors | Processor parameter in cgv.Config | To check your model before running CGV, pass the Processor parameter to the constructor for cgv.Config. Then call the cgv.Config.configModel method to adjust the model configuration. |
| SaveModel removed from cgv.CGV | Errors | SaveModel parameter in cgv.Config | To check your model before running CGV, pass the SaveModel parameter to the constructor for cgv.Config. Then call the cgv.Config.configModel method to adjust the model configuration. |
| ConfigModel removed from cgv.CGV | Warns if set to off Errors if set to on | cgv.Config.configModel method | To check your model before running CGV, replace the cgv.CGVConfigModel parameter with a call to the cgv.Config.configModel method |
| CheckInterface parameter from cgv.CGV | Warns if set to off Errors if set to on | CheckOutports parameter in cgv.Config | To check your model before running CGV, pass the CheckOutports parameter to the constructor for cgv.Config. Then call the cgv.Config.configModel method to adjust the model configuration. |
| tasking and custom values removed from the Connectivity parameter of cgv.CGV | Errors | pil, a new value for the cgv.CGVConnectivity parameter | Replace calls to the cgv.CGV constructor using the parameter-value arguments, ('Connectivity', 'tasking') or ('Connectivity', 'custom'), with ('Connectivity, 'pil'). |
Changes to the cgv.Config class parameters are listed in the following table:
| Parameter | What Happens When You Use Parameter? | Use This Parameter Instead | Compatibility Considerations |
|---|---|---|---|
| CheckOutports parameter added to cgv.Config | Defaults to on. Compiles the model. Then checks that the model outport configuration is compatible with the cgv.CGV object. | If your script fixes errors reported by cgv.Config, you can set CheckOutports to off. | |
| LogMode parameter from cgv.Config | Change in behavior | If you do not give a value for LogMode, no changes are made to the configuration parameters for logging. |
The Code Generation Advisor now includes a new objective for MISRA-C:2004 guidelines. To set the new objective, open the Configuration Parameters dialog box and select the Code Generation pane. In the Code Generation Advisor section, click the Set objectives button to open the Code Generation Advisor dialog box. In the Available objectives list, select MISRA-C:2004 guidelines and click the select button (arrow pointing right) to move the objective to the Selected objectives list. For more information on setting objectives, see Application Objectives.
The Simulink Model Advisor includes the following new check for code efficiency of lookup table blocks: Identify lookup table blocks that generate expensive out-of-range checking code. By default, the following blocks generate code that checks for out-of-range breakpoint inputs:
Similarly, the Interpolation Using Prelookup block generates code that checks for out-of-range index inputs. Running this Model Advisor check helps you identify lookup table blocks that generate out-of-range checking code for breakpoint or index inputs.
For more information about the Model Advisor, see Consulting the Model Advisor in the Simulink documentation.
The Optimize using specified minimum and maximum values code generation option now takes into account the minimum and maximum values specified for:
A Simulink.Parameter object provided that it is used on its own. It does not use these minimum and maximum values if the object is part of an expression. For example, if a Gain block has a gain parameter specified as K1, where K1 is defined as a Simulink.Parameter object in the base workspace, the optimization takes the minimum and maximum values of K1 into account. However, if the Gain block has a gain parameter of K1+5 or K1+K2+K3, where K2 and K3 are also Simulink.Parameter objects, the optimization does not use the minimum and maximum values of K1, K2 or K3.
All design ranges specified on block outputs in a conditionally-executed subsystem, except for the block outputs that are directly connected to an Outport block.
For more information, see Optimize Generated Code Using Specified Minimum and Maximum Values.
Target function libraries (TFLs) now support the ability to control replacement of certain math functions using their computation method as a distinguishing attribute. For example,
The rSqrt block can be configured to use either of two computation methods, Newton-Raphson or Exact.
The Trigonometric Function block, with Function set to sin or cos, can be configured to use either of two approximation methods, CORDIC or None.
You can configure TFL table entries to replace these functions for one or all of the available computation methods. For example, you could replace only Newton-Raphson instances of the rSqrt function.
For more information, see Replace Math Functions Based on Computation Method in the Embedded Coder documentation.
Embedded Coder software now supports target function library customization control for fixed-point abs, min, max, and sign functions.
For more information, see Register Code Replacement Libraries.
In previous releases, due to a code generation limitation, code could not be generated for a For Each Subsystem block under the following conditions:
The For Each Subsystem block directly or indirectly contains a Model block.
The Model block references a model for which C++ encapsulation is selected.
R2011a removes this limitation. You can now generate code for a For Each Subsystem in which a referenced model uses C++ encapsulation.
In the software-in-the-loop (SIL) simulation work flow, the model option Enable portable word sizes allows you to take code intended for a specific target platform and compile and run the same code on a MATLAB host platform that uses different processor word sizes. R2011a enhances the code generated for portable word sizes by inserting explicit casts to help protect against integral promotion differences and other behavior differences between host and target. This potentially can reduce the incidence of numerical differences due to host/target behavior differences. For more information, see Configure Hardware Implementation Settings for SIL and Portable Word Sizes Limitations in the Embedded Coder documentation.
R2011a provides improvements to comment generation for better readability and understanding of the generated code. Specifically, comments are located closer to the referring code and reflect the intent of the code. An end comment is now included at the end of a control flow block of code. For information on customizing comments in the generated code, see Configure Code Comments in Embedded System Code.
To replace built-in data type names with user-defined data type names in the generated code for a referenced model, you must set the Simulation mode parameter for the Model block to one of the following:
Normal
Software-in-the-loop (SIL)
Processor-in-the-loop (PIL)
For more information, see Data Types and Referenced Model Simulation Modes in the Simulink documentation.
Windows-Based Code Generation and Remote Build On Linux Target (BeagleBoard)
New Support for Analog Devices Blackfin BF50x and BF51x Processors
Generate Optimized Fixed-Point Code for ARM Cortex-M3, Cortex-A8, and Cortex-A9 Processors
The Embedded Coder software provides the following features as implemented in the former Target Support Package and former Embedded IDE Link products:
Automation Interface
Processor-in-the-Loop (PIL) Simulation
Execution Profiling
Execution Profiling during PIL Simulation
Stack Profiler
External Mode
Schedulers and Timing
Makefile Generation (XMakefile)
Target Function Library (TFL) Optimization
Multicore Deployment for Rate Based Multithreading
Note You can only use these features in the 32-bit version of your MathWorks products. To use these features on 64-bit hardware, install and run the 32-bit versions of your MathWorks products. |
During Processor-in-the-loop (PIL) simulation, you can profile synchronous tasks in code running on the target. For more information, see Execution Profiling during PIL Simulation
Blocks from the former Target Support Package product and Embedded IDE Link product now reside under Embedded Coder in the Embedded Targets block library, as shown.

Embedded Targets includes the following types of blocks:
Host Communication
Operating Systems
Embedded Linux
VxWorks
Processors
Analog Devices Blackfin
Analog Devices SHARC®
Analog Devices TigerSHARC®
Freescale MPC55xx MPC74xx
Freescale MPC5xx
Infineon C166
Texas Instruments C2000
Texas Instruments C5000
Texas Instruments C6000
Demos from the former Target Support Package product and Embedded IDE Link product now reside under Simulink Coder product help. Click the expandable links, as shown.

You can deploy rate-based multithreading applications to multicore processors running Embedded Linux and
VxWorks. This feature improves performance by taking advantage of multicore hardware resources.
Also see the Running Target Applications on Multicore Processors user's guide topic.
You can generate a makefile project on a Windows host machine, transfer the makefile project to an remote target running Linux, such as a BeagleBoard, and then build the executable on the remote target.
Signal processing applications often process sequential samples of data at once as a group, rather than one sample at a time. MathWorks documentation refers to the former as frame-based processing and the latter as sample-based processing. A frame is a collection of samples of data, sequential in time. To perform frame-based processing in MathWorks products, you must have a DSP System Toolbox™ license.
Historically, Simulink-family products that can perform frame-based processing propagate frame-based signals throughout a model. The frame status is an attribute of the signals in a model, just as data type and dimensions are attributes of a signal. The Simulink engine propagates the frame attribute of a signal with a frame bit, which can either be on or off. When the frame bit is on, Simulink interprets the signal as frame-based, and displays it as a double line, rather than as a single line.
Beginning in R2010b, MathWorks started to change the handling of frame-based processing significantly. In the future, signal attributes will not include frame status. Instead, individual blocks will control whether they treat data inputs as frames or as samples.
To transition to this new paradigm, blocks that can perform sample- and frame-based processing contain a new Input processing parameter that specifies the processing behavior. You can set Input processing to Columns as channels (frame based) or Elements as channels (sample based). The third option, Inherited (this choice will be removed - see release notes), is a temporary selection. This third option helps you migrate your existing models from the old paradigm to the new paradigm.
In R2011a, the following Embedded Coder blocks received a new Input processing parameter:
Compatibility Considerations. When you load an existing model in R2011a, blocks with the new Input processing parameter shows a setting of Inherited (this choice will be removed - see release notes). This setting enables your existing models to work as expected until you upgrade them. Upgrade your models as soon as possible.
To upgrade your existing models, use the slupdate function. This function detects all blocks that have Input processing set to Inherited (this choice will be remove - see release notes). The function asks you whether to upgrade each block. If you select yes, the function detects the status of the frame bit on the input port of the block. If the frame bit is 1 (frames), the function sets the Input processing parameter to Columns as channels (frame based). If the bit is 0 (samples), the function sets the parameter to Elements as channels (sample based).
A future release will remove the frame bit and the Inherited (this choice will be removed - see release notes) option. At that time, if you have not updated the model, the software automatically sets the Input processing parameter. The software uses the library default setting of the block to select either Columns as channels (frame based) or Elements as channels (sample based). If the library default setting does not match the parameter setting in your model, your model will produce unexpected results. Additionally, after the removal of the frame bit, you will no longer be able to upgrade your models using the slupdate function. Therefore, upgrade your existing modes using slupdate as soon as possible.
You can now generate code for the following embedded processors when you use Embedded Coder software:
BF504
BF504F
BF506F
BF512
BF514
BF516
BF518
You can use new Target Function Libraries (TFLs) to generate efficient fixed-point code for the ARM Cortex-M3, Cortex-A8, and Cortex-A9 processors. These TFLs include GCC compiler extensions and intrinsic functions that optimize the code Embedded Coder generates for these processors.
Support for Green Hills MULTI software now includes versions 5.0.6 and 5.1.6. For additional information about supported versions, see the Support for Green Hills MULTI topic online.
You can now generate code for the following embedded processors when you use Embedded Coder software with Texas Instruments Code Composer Studio software:
C28341
C28342
C28343
C28344
C28345
C28346
The new C2834x (c2834xlib) block library contains the following blocks:
Support for the Altium TASKING IDE will end in a future release of the Embedded Coder product.
Support for the Freescale MPC5xx processor family will end in a future release of the Embedded Coder product.
Support for the Infineon C166 processor family will end in a future release of the Embedded Coder product.
Deprecated the type property for the Code Composer Studio IDE object. For example, entering the following text generates an error message:
infolist = IDE_Obj.list(type)
The following changes have been made to ver function arguments related to embedded code generation products:
The new argument 'embeddedcoder' returns information about the installed version of the Embedded Coder product.
The argument 'ecoder', which previously returned information about the installed version of the Real-Time Workshop® Embedded Coder™ product, no longer works. The software displays a "not found" warning.
For more information about using the function, see the ver documentation.
If a script calls the ver function with the 'ecoder' argument, update the script appropriately. For example, you can update the ver call to use the 'embeddedcoder' argument.
The following demos have been added in R2011a:
| Demo... | Shows How You Can... |
|---|---|
| coderdemo_tfl | Use target function libraries (TFLs) to replace operators and functions in code generated by MATLAB Coder. |
| rtwdemo_code_coverage_script | Generate model coverage and code coverage reports, and use these reports to compare model coverage and code coverage results for any part of a model. |
| rtwdemo_pmsmfoc_script | Perform system-level simulation and algorithmic code generation using Field-Oriented Control for a Permanent Magnet Synchronous Machine. |
The following demos have been enhanced in R2011a:
| Demo... | Now... |
|---|---|
| vipstabilize_fixpt_beagleboard | Uses the new Video Capture block to simulate or capture a video input signal in the Video Stabilization demo. |
![]() | Version 6.1 (R2011b) Embedded Coder Software | Compatibility Summary for Embedded Coder Software | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |