IBM Support

PI64464: "INVALID NUMBER OF PARAMETER ARGUMENTS FOR MODEL BLOCK" ERROR WHEN CO-SIMULATING RHAPSODY MODEL WITH SIMULINK

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Following the instructions Simulation of the CruiseControlSystem
    example
    
    When users tries to run the Simulink model I get the error:
    
    Invalid number of parameter arguments for Model block "......."
    This block expects 0 parameter arguments but 1 were provided."
    
    Solution is change visibility of the 'm_nSampleTime' attribute
    (in each SimulinkBlock that exists in the StructureSimulinkBlock
    IBD) from 'Public' to 'Private'.
    This change should be made permanently in the SimulinkInC
    profile
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody users                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * "Invalid number of parameter arguments for Model block"      *
    * error when co-simulating Rhapsody model with Simulink        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in Rhapsody 8.2 - fixed the "Invalid number of parameter
    arguments for Model block" error, when running a C PlantModeling
    application in Matlab.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI64464

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    813

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-06-17

  • 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

  • R815 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.1.3

Reference #: PI64464

Modified date: 05 December 2016