ClassFactory cannot supply requested class : "MWComUtil.MWUtil"
    조회 수: 11 (최근 30일)
  
       이전 댓글 표시
    
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?
댓글 수: 0
답변 (1개)
  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
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 Get Started with MATLAB Compiler에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

