Real-Time Workshop Release Notes Previous page   Next Page

Chapter 2
Real-Time Workshop 5.1.1 Release Notes


New Features

The following new feature is provided in Version 5.1.1 of Real-Time Workshop.

New -dr Command Line Switch in TLC Detects Cyclic Record
Creation

The -dr command line option enables the Target Language Compiler to detect at run time when cyclic records are created and to produce a diagnostic message.

Cyclic records are problematic because they cause memory leaks in TLC. A cyclic record is one which ends up pointing to itself. They only can be constructed manually, as in the following example:

At this point, a cyclic record exists, i.e. x.field.field == x

As this feature significantly slows Target Language Compiler performance, it is off by default.


Previous page  Known Software and Documentation Problems Major Bug Fixes Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2008 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS