activex error with FEMM inside wine on a Mac

6 views (last 30 days)
I try to establish a communication between Matlab and FEMM with
HandleToFEMM=actxserver('femm.ActiveFEMM');
but I get the following error:
Error using actxserver (line 90)
Server creation failed. Invalid ProgID 'femm.ActiveFEMM'.
What do I do wrong?
I have Matlab R2016b, Wine-1.9.23 (Staging) and FEMM 4.2 on a MacBookPro running macOS Sierra (10.12.1).
Thanks for your help in advance.

Accepted Answer

Nirav Sharda
Nirav Sharda on 28 Nov 2016
Edited: Nirav Sharda on 28 Nov 2016
The documentation link on actxserver suggests that it needs COM communication that is available on Windows systems only. The FEMM 4.2 works fine with MATLAB on Windows.
  5 Comments
Walter Roberson
Walter Roberson on 20 Dec 2016
Omar Ismail, is MATLAB running in OS-X itself, or are you running the Windows version of MATLAB inside of Wine?
In order to use activexserver you would need to be running the Windows version of MATLAB. The Linux and OS-X versions of MATLAB do not have activex capabilities compiled in.
Jason Xu
Jason Xu on 1 Jun 2019
Hi Walter, just wondering is it possible to open the same multiple softwares by using actxserver? Thank you

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!