DLL Error in excel sheet
Show older comments
Hi. I am trying to follow this example in the page:
I am getting this error message when I put the code in excel
Error in mymagic.mymagicClass.1_0: MWComUtil 9.11 could not be found in the registry. Please refer to MATLAB Compiler SDK documentation for instructions on how to install and register MWComUtil.
I couldn't find anything for its instructions.
Can anyone help figure this out?
12 Comments
Baha411
on 7 Dec 2021
Baha411
on 7 Dec 2021
Walter Roberson
on 7 Dec 2021
"Does anyone know where the this "mwcomutil.dll" file is?"
In R2018b it showed up as
C:\Program Files\MATLAB\R2018b\bin\win64\mwcomutil.dll
C:\Program FIles\MATLAB\MATLAB Compiler Runtime\v716\runtime\win64\mwcomutil.dll
I do not happen to have MATLAB Compiler for R2021b installed on Windows.
Walter Roberson
on 7 Dec 2021
The important part of the link was the sentence,
"mwregsvr resides in the same folder as needed DLL's"
Walter Roberson
on 7 Dec 2021
Can someone from mathworks reply to this, please?
MATLAB Answers is answered by volunteers.
My late night Sunday / Monday was spent upgrading my virtual MS Windows machine to catch up on the months of operating system updates since the last time I had reason to boot Windows, and after a poor sleep Monday morning, Monday afternoon and evening was spent catching up on sleep after some unexpected dental work.
If you need an answer from Mathworks itself, you should open a support case.
Baha411
on 7 Dec 2021
Baha411
on 13 Dec 2021
Walter Roberson
on 14 Dec 2021
Sorry, I have no experience in that matter. I do not have Excel for Windows, and these features do not work on Excel for Mac.
Answers (0)
Categories
Find more on COM Component Integration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!