IBM Support

PM86526: RHP: Cannot compile code from Simulink sample

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Cannot compile code from Simulink 'PowerWindow' sample. If an
    'ert_main.cpp' file from the Simulink model gets generated it
    should not be brought into the  integration.
    The instructions in the Rhapsody 'PowerWindow' sample assumes
    there is no 'main.cpp' file.
    

Local fix

Problem summary

  • Instructions should be improved.
    

Problem conclusion

  • 1. Double-click the MATLAB project (rhp_powerwindow.mdl).
    2. Since its main.cpp file should not be generated, perform the
    following actions:
         a) Open a Simulink model.
         b) In the main menu go to Tools->Code Generation->Options.
         c) Go to the 'Code Generation->Template' tab.
         d) Clear the 'Generate an example main program' option.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM86526

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-08

  • Closed date

    2013-10-30

  • Last modified date

    2013-10-30

  • 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

  • R804 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
06 January 2022