Unable to resolve the name matlab.int​ernal.addo​ns.showAdd​on in Matlab 2020b

I am trying to install the webcam pkg. via the command
matlab.internal.addons.showAddon('USBWEBCAM');
but I get the message Unable to resolve the name matlab.internal.addons.showAddon. I have tried regenerating the preferences file, but get the same message. Is there something else I can try? This is Matlab 2020b.

Réponses (1)

matlab.internal.addons.showAddon is a little-documented function, with no doc page.
It was added in R2024a.

1 commentaire

In 2020b I also have an Add-ons tab under Environment that I have tried. If I click on Get hardware support packages I get the following errors:
Dot indexing is not supported for variables of this type.
Error in matlab.internal.addons.AddOnsWindow/bringToFront (line 68)
obj.webwindow.bringToFront();
Error in matlab.internal.addons.Explorer/show (line 52)
obj.addOnsWindowInstance.bringToFront();
Error in matlab.internal.addons.launchers.showExplorer (line 128)
matlab.internal.addons.Explorer.getInstance.show(navigationData);
>>
Based on the fact that I have this option in the toolbar I am suspecting that either a link or a file is missing. Thoughts?

Connectez-vous pour commenter.

Catégories

Produits

Version

R2020b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by