フィルターのクリア

ClassFactory cannot supply requested class : "MWComUtil.MWUtil"

2 ビュー (過去 30 日間)
Philippe Raemy
Philippe Raemy 2024 年 3 月 1 日
回答済み: Dirk Engel 2024 年 4 月 11 日
I've developed an excell add-in with matlab R2022a and this works just fine on the dev machine. However, after compilation, when I try to redistribute to another machine (tried windows 10 and 11) I get the above error when creating the MWUtil object.,
I have tried to install the runtime R2022a, to no avail.
Has anyone a clue about how to make this work?

回答 (1 件)

Dirk Engel
Dirk Engel 2024 年 4 月 11 日
The error indicates that your COM component (or any of its dependencies) is not registered correctly. Try to register your add-in and the utility libraries on the new machine with regsvr32 or mwregsvr. See https://de.mathworks.com/help/compiler/excel/distribute-add-ins-and-integrate-into-microsoft-excel.html

カテゴリ

Help Center および File ExchangeExcel Add-Ins についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by