How can I use COM functions with MAC

7 次查看(过去 30 天)
Dear all,
I have a Mac OS 10.8.5 and Matlab 2013b. I need to use the function actxserver which is a function of the Matlab COM interface. However, it is written that COM functions are available on Microsoft Windows® systems only. How can I overcome this problem ?
I really hope there is a solution.
Thank you
Léa
  2 个评论
Guillaume
Guillaume 2014-9-2
You can't overcome the problem. This is not a matlab decision. COM is Microsoft technology, it is only available on Windows.
If you really need COM on OSX you'll need to run matlab in a virtual machine (parallel, virtualbox, VMWare, etc.) running Windows together with your COM server.
What do you need COM for? Possibly there is something equivalent for Macs.
Giuseppe Coppola
Giuseppe Coppola 2020-4-23
Hi Guillaume,
i have the same problem of Léa, i nedd to run an alternative function of actxserver to read input data from the space mouse selled by 3dconnexion. When i run my code in matlab i have this error:
Error using actxserver (line 93)
Server creation failed. Invalid ProgID 'TDxInput.Device'.
Error in mouse3Ddrv (line 22)
obj.SpaceNav = actxserver('TDxInput.Device');
Can you help me please?
Thank you
Coppola Donato

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile 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!

Translated by