Why do I receive multiple warnings and errors when matlab starts?

3 views (last 30 days)
I installed Matlab on a new Win 10 laptop. Now when I start Matlab I receive every time multiple warnings about nonexistent directories, like
"Warning: Name is nonexistent or not a directory: C:\Program
Files\MATLAB\R2019b\toolbox\matlabxl\matlabxl",
and then hundreds of them.
I do not have these directories as far as I can see, but what these warnings mean? Is my installation successful? If no, what is the reason? If yes, why are all these warnings?
At the end I even get an error in the Command Window
"Unrecognized function or variable 'matlab.internal.addons.updates.getSupportPackageUpdates'",
and three pop-up error windows, one with the message above and two with "An unexpected error has occured".
Why does a fresh, out-of-box installation produce these warnigns and errors, and how should I install Matlab to avoid them?

Answers (1)

Walter Roberson
Walter Roberson on 26 Nov 2019
You have a few possibilities:
  1. Install the Excel Add-In in order to provide the matlabxl files; or
  2. go into pathtool and remove all lines that refer to matlabxl; or
  3. restoredefaultpath; rehashtoolboxcache; savepath
  3 Comments
Walter Roberson
Walter Roberson on 26 Nov 2019
When you install a new version of MATLAB that is no more than two releases newer than the previous version, then MATLAB will pull out the preferences and path file from the most recent previous installation and update all MATLAB release references to the new version. That works fine provided that you install at least as many toolboxes as before, but leads to these kinds of messages when your new installation has fewer toolboxes.
Artem
Artem on 28 Nov 2019
Thanks Walter. The first sentence of my question says that it was a new laptop. Do you suggest that Matlab saves some settings on own servers?

Sign in to comment.

Categories

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

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!