MATLAB Answers

How can I register the Matlab COM automation sever on R2016A?

3 views (last 30 days)
Gavin
Gavin on 15 Mar 2016
I'm trying to allow a 3D party program (Amira) to use the matlab COM server, but cannot seem to register the server properly. Amira cannot open the Matlab engines and suggests running calling 'matlab /regserver' in a terminal, but this returns nothing and does not appear to help.
If I open Matlab as an administrator running 'enableservice('AutomationServer',true)' appears to set up the server, but then running 'regmatlabserver' throws the following mysterious error: While executing ["C:\Program Files\MATLAB\R2016a\bin\matlab" /wait /regserver /r quit], the following error was reported by DOS with status 9:
It would be nice to get some more information on why the server cannot be registered, but I can't seem to find any other error messages. I did previously have R2014A and R2014B installed on the machine, and I read that registry errors can cause problems with the COM server which could be the case here as well. Is there a way to check that registry settings are OK for the COM settings?

  0 Comments

Sign in to comment.

Answers (1)

Krishna Chaitanya Duggineni
I see that a part of the error message is cropped. What is the whole error message?

  0 Comments

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!