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

6 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Divyanshu
Divyanshu il 23 Gen 2025
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'.

Categorie

Scopri di più su COM Component Integration in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by