ClassFactory cannot supply requested class : "MWComUtil.MWUtil"

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?

Antworten (1)

Dirk Engel
Dirk Engel am 11 Apr. 2024

0 Stimmen

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

Kategorien

Mehr zu Get Started with MATLAB Compiler finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022a

Gefragt:

am 1 Mär. 2024

Beantwortet:

am 11 Apr. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by