Skip to Main Content Skip to Search
Product Documentation

Version 1.2.1 (R2011b) Simulink PLC Coder

This table summarizes what's new in Version 1.2.1 (R2011b):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known Problems
Yes
Details below

Yes

Summary

Bug Reports
Includes fixes

New features introduced in this version are:

Automatic IDE Import of Subsystem Code Without Test Bench

The Simulink PLC Coder software now generates and imports subsystem code into target IDEs without the test bench. To use this feature:

  1. In the Configuration Parameters dialog box, clear the Generate testbench for subsystem check box.

  2. In the Simulink editor, right-click the subsystem and select PLC Code Generation > Generate and Import Code for Subsystem.

In previous releases, the coder generated and imported test bench code into the target IDE regardless of the setting of the Generate testbench for subsystem check box.

Subsystem Function Block Code

In generated code, the function block code of the top-level subsystem has been simplified. The coder now generates the function block code depending on whether or not the top-level subsystem has internal state. In previous releases, the coder always generated the function block code with the ssMethodType parameter for top-level subsystems.

Compatibility Consideration

This release simplifies the function block code of the top-level subsystem for generated code.

For non-top-level subsystems, either with or without internal state, the function block code has the ssMethodType parameter. The generated code might have other ssMethodType constants to implement Simulink semantics.

New Demo

The following demo is new:

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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