Control Matlab COM Automation Server instance from other Matlab instance
2 次查看(过去 30 天)
显示 更早的评论
Hello, I am wondering if it is possible to register one Matlab instance with the Automation Server, and then control this registered instance from a second Matlab instance. In the documentation there is only code for applications/languages, but not Matlab.
Best Regards,
Silvan
0 个评论
采纳的回答
Amit Doshi
2017-9-7
Hello,
You can register one MATLAB instance and can create a COM server of it from another MATLAB instance.
To register MATLAB as an automation server, refer the below link:
Then, call it from other MATLAB instance:
a = actxserver('Matlab.Application')
4 个评论
mohit patil
2020-5-21
thank you got my thing working..
Also is there any other way to control multiple matlab instances(Slaves) from one instance(Master)?
As with COM server we can only control one matlab from other instances of matlab
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Use COM Objects in MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!