IBM Support

Missing 'libeng.dll' when incorporating Simulink Model into Rational Rhapsody

Troubleshooting


Problem

Attempts to import Simulink code into IBM Rational Rhapsody results in the error "This application has failed to start because libeng.dll was not found.".

Symptom

Using "Import from Simulink" feature in Rhapsody results in the following error:

This application has failed to start because libeng.dll was not found.  Re-installing the application may fix the problem

Cause

Possible causes:

  • You do not have the license feature named "RPUSimulink"
    or
  • You have specified the wrong directory path in the PATH environment variable
    or
  • Matlab / Simulink versions not supported
    or
  • Using .NET

Diagnosing The Problem

To help troubleshoot the issue:

  • Check if your Rhapsody license contains the RPUSimulink feature. This feature enables you to perform an import from the Simulink function
  • Ensure that the libeng.dll file exists in the <matlab install directory>\bin\win32> directory.
  • Check the Language is C++ in Simulink configuration and that the Real-Time Workshop Embedded Coder was chosen along with Generate Code Only.
  • Check the Mathworks website. Previously .NET required you to install components.

Resolving The Problem

License issue: Obtain a license for the RPUSimulink feature.

Path issue: Copy and paste the directory path as the value of your environment variable named PATH

Example: PATH
C:\Program Files\MATLAB71\bin\win32;C:\Program Files\MATLAB71\bin\win32\libeng.dll

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.2;7.3;7.4;7.4.0.1;7.5;7.5.0.1;7.5.1;7.5.1.1;7.5.2;7.5.2.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21447990