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 Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21447990