Unrecognized function or variable at startup screen

Dear Developers,
After installing Matlab2019b and all of its packages at a WIndows 10 laptop, I obtain the following error messages at the startup screen of Matlab:
I activated Matlab using my University's licence.
Warning: Name is nonexistent or not a directory: C:\Program
Files\MATLAB\R2019b\toolbox\matlab\hds
Unrecognized function or variable 'connector.ensureServiceOn'.
Unrecognized function or variable 'connector.ensureServiceOn'.
Unrecognized function or variable 'connector.ensureServiceOn'.
Unrecognized function or variable
'matlab.supportpackagemanagement.internal.getInstalledSupportPackagesInfo'.
Unrecognized function or variable 'connector.ensureServiceOn'.
Unable to resolve the name connector.resetLocalePreference.
Unrecognized function or variable 'connector.ensureServiceOn'.
Unrecognized function or variable 'connector.internal.lifecycle.callConnectorStarted'.
I would be grateful for any help or suggestion.

4 个评论

I get the exact same problem on my Windows 10 Laptop. I installed and uninstalled Matlab 2019b.
Installing 2020a (from previously 2019a) I've had similar problems with error messages concerning this:
Unrecognized function or variable 'matlab.internal.addons.updates.getSupportPackageUpdates'.
I found the answer from a matlab person.....but can't find it again..
Here's what I did... it fixed it..
restoredefaultpath
rehash toolboxcache
savepath

请先登录,再进行评论。

回答(1 个)

The errors went away if I opened matlab.exe instead of the shortcut for matlab on the desktop.

1 个评论

I had the same experience for 2020a and the same solution. I do not know why my windows 10 laptop does this.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by