Products & Services Solutions Academia Support User Community Company

Learn more about Real-Time Workshop   

Version 5.1.1 (R13SP1+) Real-Time Workshop Software

This table summarizes what's new in V5.1.1 (R13SP1+):

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.Fixed bugsNo

New features and changes introduced in this version are

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 can be constructed only manually, as in the following example:

%createrecord x { }    %% create an empty record x
%createrecord y { }    %% create an empty record y

%addtorecord x field y %% add a field to x which points to y
%addtorecord y field x %% add a field to y which points to x

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

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

Error Resulting from Inaccessible Signal Reporting No Longer Reported

Compatibility Considerations

In previous releases, Simulink and the Real-Time Workshop software reported an error whenever a Floating Scope or a user-written S-function tried to access an inaccessible signal during simulation or code generation. In this release, Simulink displays only a warning if you use the sim command to start the simulation. The Real-Time Workshop software generates neither a warning nor an error message.

  


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