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.

回答 (1 件)

Walter Roberson
Walter Roberson 2025 年 12 月 20 日

0 投票

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

1 件のコメント

Allen Takahashi
Allen Takahashi 2025 年 12 月 20 日
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?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2020b

タグ

質問済み:

2025 年 12 月 20 日

コメント済み:

2025 年 12 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by