Having trouble connecting MATLAB to Lumerical
30 views (last 30 days)
Show older comments
Hi! I'm trying to connect my 64-bit MATLAB 2019a to Lumerical so that I can use the matlab(); script command in Lumerical. I tried following the instructions on this page https://support.lumerical.com/hc/en-us/articles/360026142074-MATLAB-script-integration-configuration-guide.
I found the libeng file in the MATLAB folder but even after I selected it and Lumerical said it was connected to MATLAB I got errors in Lumerical saying that MATLAB was not connected. I then tried to register the MATLAB software as an automation server by using the !matlab/regserver command in MATLAB as recommended but MATLAB just says busy and never does anything with it (even after several hours). I then went straight to the command window and input "C:\Program Files\MATLAB\R2019a\bin\win64\matlab"/regserver. This gave me the error "Unable to set Registry value for Software\Classes\CLSID\{6B213DCC-D6A6-472B-8E06-472B-8E06-5A84313EFE46}.You may not have sufficient privileges. Re-run MATLAB as a user with Administrator access" However I am the administrator on the computer and I ran it under my account. I also have MATLAB set so it automatically runs as administrator.
Please help. Any information is much appreciated.
2 Comments
Walter Roberson
on 3 Nov 2021
On Windows, Run As Administrator grants rights that Administrator Account itself does not directly have.
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!