Failed to create COM objectMatl​abWrapper.​wrapper: Automation error

Hi everyone,
Please, I have an application that uses MATLAB Runtime 9.9 (with Windows Server 2019 Std) and I'm facing the following error message:
"Failed to create COM objectMatlabWrapper.wrapper: Automation errorThe specified module could no be found".
Please, any tip to solve this issue?
Thanks.

답변 (1개)

Divyanshu
Divyanshu 2025년 1월 23일

0 개 추천

Hello @Jean,
You can ensure that the following COM components are registered: 'mwcomutil.dll' and 'mwcommgr.dll'.
If they are not registered then you can register them using the command 'mwregsvr', by following these steps:
  • Open windows command prompt.
  • Change the directory to 'C:\Program Files\MATLAB\MATLAB Runtime\<Your MATLAB Release>\bin\win64'
  • Execute the commands: 'mwregsvr mwcomutil.dll' and 'mwregsvr mwcommgr.dll'
You can refer this documentation for more details on command 'mwregsvr'.

댓글 수: 1

Hi Divyanshu,
Thanks for the tips. Unfortunately the problem remains.
Have a nice week!

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 COM Component Integration에 대해 자세히 알아보기

질문:

2025년 1월 21일

댓글:

2025년 1월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by