Clear Filters
Clear Filters

"failed to load bundle" when trying to open simulink

56 views (last 30 days)
When I try to open simulink I get the following
Failed to load bundle #677: C:\Program Files\MATLAB\R2022b\bin\win64\sl_graphical_classes.dll
At first I wanted to downlaod the arudino support package for simulink, but kept getting an error "cant download AEK rev2", but evantually I was able to download it by doing the R2022b update 5. After I updated, I installed the support package and restarted MATLAB, but now I am unable to open simulink and get the error message
Failed to load bundle #677: C:\Program Files\MATLAB\R2022b\bin\win64\sl_graphical_classes.dll

Answers (1)

Atharva
Atharva on 24 May 2023
Hey Mustafa
The error message you're encountering indicates that there is an issue with loading the bundle #677 in Simulink. This specific error points to a problem with the "sl_graphical_classes.dll" file located in the MATLAB installation directory.
Here are a few steps you can try to resolve the issue:
  1. Verify Simulink Installation: Double-check that Simulink is installed correctly on your system. If you recently updated MATLAB or installed additional packages, it's possible that the installation of Simulink encountered an error. You may need to repair or reinstall Simulink to resolve any installation-related issues.
  2. Restore DLL File: The error message suggests that the "sl_graphical_classes.dll" file may be missing or corrupted. To fix this, you can try restoring the DLL file from a backup or reinstalling Simulink to ensure that all necessary files are present and intact.
  3. Update MATLAB and Simulink: Make sure you have the latest updates and patches for MATLAB and Simulink installed. Updating to the latest version can often address known issues and provide bug fixes that may be related to the error you're experiencing.
  4. Check for Compatibility: Ensure that the version of Simulink you are using is compatible with your MATLAB version. Sometimes, compatibility issues between different versions can cause errors. If necessary, consider upgrading or downgrading either MATLAB or Simulink to maintain compatibility.
  5. Run MATLAB as Administrator: Try running MATLAB as an administrator. Right-click on the MATLAB shortcut or executable and select "Run as administrator" from the context menu. This can help ensure that MATLAB has the necessary permissions to access and load the required DLL files.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!