Products & Services Solutions Academia Support User Community Company

Learn more about Real-Time Workshop   

Version 7.3 (R2009a) Real-Time Workshop Software

This table summarizes what's new in V7.3 (R2009a):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known ProblemsRelated 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

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 Parameter and Signal Values with Data Types Larger Than 32 Bits

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

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.

Ability to Multiplex Compatible Asynchronous Function Calls

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.

Ability to Control Safe Cast Code Generated for Enumerated Types

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.

Open Watcom C/C++ Compiler Support for Model Reference Builds

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.

New Compilation Report for emlc

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.

Compatibility Considerations

The following internal and external browsers do not support the new compilation report:

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 Support for Emulation Code Generation Target

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.

Code Optimizations for Multiple Blocks

The Real-Time Workshop build process uses a new technique to provide more efficient code for the following blocks:

Benefits include:

Changes to the Signal Properties Dialog Box

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:

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.

New Reference Pages

Existing Real-Time Workshop functions shown in the following table, are now documented in reference pages.

Function

Description

rtwbuild

Initiate the build process

rtwrebuild

Rebuild generated code

tlc

Invoke the Target Language Compiler

New Real-Time Workshop Reserved Keywords

Matrix and vector are now on the Real-Time Workshop Language Keywords list. For more information, see Reserved Keywords.

New and Enhanced Demos

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:

The following demo has been added in R2009a:

Demo...Shows How You Can...
rtwdemo_usingrtwQuickly 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.

  


Related Products & Applications

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