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

6 ビュー (過去 30 日間)
Gavin
Gavin 2016 年 3 月 15 日
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?

回答 (1 件)

Krishna Chaitanya Duggineni
Krishna Chaitanya Duggineni 2016 年 3 月 23 日
I see that a part of the error message is cropped. What is the whole error message?

カテゴリ

Help Center および File ExchangeWrite COM Applications to Work with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by