IBM Support

PI61616: UNABLE TO IMPORT ALL SUBSTATES FROM SIMULINK STATEFLOW DIAGRAM

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Customer is trying to import a statechart from Simulink 2015b
    directly into Gateway (see Simulink coupling guide)
    However, they are finding that not all sub states are being
    imported.
    
    The Bang-Bang-Controller state has substates like Heater, Off,
    On, Flash etc. These Substates are not imported in Rhapsody. I
    would expect a structure like this:
    
    sf_boiler
       |
       |_ Bang-Bang-Controller
       |    |_Heater
       |       |_Off
       |       |   |_Flash
       |       |
       |       |_On
       |
       |    |_ Boiler
       |    |_ LED
    
    Instead we see this:
    
    sf_boiler
       |
       |_ Bang-Bang-Controller
       |_ Boiler
       |_ LED
    
    FYI This is an example diagram that came with Simulink:
    sf_boiler.slx
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody 8.1.4                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * UNABLE TO IMPORT ALL SUBSTATES FROM SIMULINK STATEFLOW       *
    * DIAGRAM                                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in Rhapsody 8.2 - The fix is the exploration of Stateflow
    elements in the simulink/blockdiagram.xml file from SLX archive.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI61616

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    811

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-04-28

  • Closed date

    2016-12-05

  • Last modified date

    2016-12-05

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R814 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.1.1

Reference #: PI61616

Modified date: 05 December 2016