| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Real-Time Workshop |
| Contents | Index |
| Learn more about Real-Time Workshop |
This table summarizes what's new in V7.3 (R2009a):
| New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems | Related Documentation at Web Site |
|---|---|---|---|
| Yes Details below | Yes—Details labeled as Compatibility Considerations, below. See also Summary. | Bug
Reports Includes fixes | No |
Parallel Builds Accelerate Code Generation and Compilation for Large Model Reference Hierarchies
Ability to Control Safe Cast Code Generated for Enumerated Types
Open Watcom C/C++ Compiler Support for Model Reference Builds
R2009a provides the ability to accelerate code generation and compilation for models containing large model reference hierarchies by building referenced models in parallel whenever possible. For example, you can distribute code generation and compilation for each model block across the cores of a multicore host computer. For more information, see Reducing Build Time for Referenced Models in the Real-Time Workshop User's Guide.
For information on how to configure a custom embedded target to support parallel builds, see Supporting Model Referencing in the Real-Time Workshop Embedded Coder Developing Embedded Targets documentation.
External mode simulation now supports the ability to upload and download parameter values and upload signal values with data types larger than 32 bits, including
Multiword data types, such as a 128-bit fixed-point integer on a 32-bit system
64-bit long on a 64-bit system
External mode simulation seamlessly supports interaction between host and target platforms with different native sizes and different endianness. For example, you can upload a 64-bit quantity from a 64-bit target system, using a 64-bit long, to a 32-bit host system, using a multiword comprised of two 32-bit integers.
Before this release, Simulink normal mode simulation and Real-Time Workshop code generation supported fixed-point data types larger than 32 bits, but external mode simulation did not.
R2009a provides the ability to more flexibly multiplex asynchronous function calls, provided they have equal priority and use the base rate timer. This enhancement allows you to model asynchronous events that need to share algorithmic code in a natural way, without resorting to workarounds such as inserting blocks that do not intuitively contribute to your design.
Before this change, the Real-Time Workshop software supported the ability to multiplex compatible asynchronous function calls for sharing algorithmic code, but required that each caller was at the top level of its task. That is, each asynchronous function call had to connect directly to the Mux block, with no intervening calls to other blocks.
R2009a removes the requirement that each caller must be at the top level of an asynchronous task, so that you can freely multiplex any combination of direct and cascaded asynchronous function calls of equal priority that use the base rate timer.
In previous releases, code generated for a Simulink Data Type Conversion block always used a safe cast function when casting data to an enumerated type. In R2009a, such code uses safe casting only if the block's Saturate on integer overflow option is selected. See Enumerated Type Safe Casting for more information.
The Real-Time Workshop software now supports use of the Open Watcom C/C++ compiler for builds of models with model reference hierarchies on 32-bit Windows platforms. Previously, model reference builds were not supported.
The new compilation report provides compile-time type information for the variables and expressions in your M-code. This information simplifies finding sources of error messages and aids understanding of type propagation rules. For more information, see Working with Compilation Reports in the Real-Time Workshop User's Guide.
The following internal and external browsers do not support the new compilation report:
MATLAB internal browser (on 64-bit UNIX® platforms only)
MACI internal browser
Microsoft Internet Explorer® 6
To view the compilation report, you must have your MATLAB Web preferences configured to use an external browser, for example, Mozilla Firefox. To learn how to configure your MATLAB Web preferences, see Specifying the System Browser for UNIX Platforms in the MATLAB documentation.
emlc now supports both production and emulation code generation targets. For more information, see Hardware Implementation Dialog Box for Embedded MATLAB Coder in the Real-Time Workshop Reference.
The Real-Time Workshop build process uses a new technique to provide more efficient code for the following blocks:
Benefits include:
Reuse of variables
Dead code elimination
Constant folding
Expression folding
The appearance of the Real-Time Workshop tab of the Signal Properties dialog box has changed in R2009a. The Real-Time Workshop tab previously looked like this by default:

In R2009a, the tab looks like this by default:

The changes between R2008b and R2009a are:
A new property, Package, exists at the top of the tab. When the value of Package is --- None ---, the rest of the tab behaves as it did in R2008b.
The RTW storage class property has been renamed Storage class. It is functionally unchanged and has the same API as in R2008b.
The RTW storage type qualifier property has been renamed Storage type qualifier. It is functionally unchanged and has the same API, but its GUI behavior is different:
RTW storage type qualifier was always visible, but was active only when it was applicable.
Storage type qualifier is visible only when it is applicable, and is hidden otherwise.
The next figure shows the Storage type qualifier property, which is visible because it is applicable when the Storage class is ImportedExternPointer.

For information about using Storage class and Storage type qualifier with GRT targets, see Signal Considerations and Simulink Data Object Considerations.
For information about using Package, Storage class, and Storage type qualifier with ERT targets, see Applying CSCs to Parameters and Signals in the Real-Time Workshop Embedded Coder documentation.
Existing Real-Time Workshop functions shown in the following table, are now documented in reference pages.
Function | Description |
|---|---|
Initiate the build process | |
Rebuild generated code | |
Invoke the Target Language Compiler |
Matrix and vector are now on the Real-Time Workshop Language Keywords list. For more information, see Reserved Keywords.
Beginning with R2009a, the Real-Time Workshop Demos page uses a new format to display Real-Time Workshop and Real-Time Workshop Embedded Coder demos. The differences include:
Indentation now is used to designate a functionally-related group of demos. Indentation no longer identifies demos for which the Real-Time Workshop Embedded Coder software is required.
If a demo requires Real-Time Workshop Embedded Coder software, the demo naming or text identifies the requirement.
The following demo has been added in R2009a:
| Demo... | Shows How You Can... |
|---|---|
| rtwdemo_usingrtw | Quickly generate C code for real-time simulation, rapid prototyping, or hardware-in-the-loop (HIL) testing applications. You select a Real-Time Workshop target for a model, generate code, and view the resulting files. |
![]() | Version 7.4 (R2009b) Real-Time Workshop Software | Version 7.2 (R2008b) Real-Time Workshop Software | ![]() |

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