How do I resolve 'Bundle' error messages?

How do I resolve 'Bundle' error messages in MATLAB, such as Bundle#350Bundle#359, or Bundle#10?
More specifically, symptoms such as the following may occur:
  1. Basic functions such as 'plot' and 'readData' give errors.
  2. Add-ons or apps such as Signal Analyzer and Live Editor give 'Bundle' errors.
  3. Standalone applications created with the Application Compiler give 'Bundle' errors.
  4. MATLAB shows the following error at startup (It may contain a bundle number, like Bundle#10)
at com.mathworks.installjscommon.services.InstallServices.isMatlabRunning(Unknown Source)
  1. Simulink shows a startup error with a bundle number, like "Bundle#350 start failed" and "Unable to load bundle binary":
Bundle#350 start failed: Loading C:\Program Files\MATLAB\R2019a\bin\win64\builtins\sl_graphical_classes\mwsl_graphical_classes_builtinimpl.dllfailed with error
Unable to load bundle binary C:\Program Files\MATLAB\R2020b\bin\win64\builtins\sl_main\mwlibmwsimulink_builtinimpl.dll. Error: 127: state not recoverable
  1. ​​A significant performance issue. For example, entering "1+1" in the command window may take a few seconds.
  2. New features listed in the release notes do not work.

 Accepted Answer

Try the following steps to resolve Bundle errors in MATLAB/Simulink:
  1. Perform a clean installation of MATLAB as explained in this MATLAB answer.
  2. If the error comes from the use of an add-on or app, perform a clean reinstallation of the relevant add-on or app as well.
  3. Install MATLAB with the latest updates for the current version, or upgrade to a newer MATLAB release.
  4. If the 'Bundle' error comes from running a standalone application created with the Application Compiler, perform a clean installation of MATLAB Runtime using the same version of MATLAB the app was compiled with. The MATLAB Runtime Installer for different versions can be downloaded from this page.
  5. Contact MathWorks Technical Support via the Support Portal. Make sure to include your installation logs and the complete output displayed after entering the following command into MATLAB Command Window:
>> ver -support
>> feature('locale')

More Answers (0)

Categories

Products

Release

R2021a

Community Treasure Hunt

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

Start Hunting!