activex error with FEMM inside wine on a Mac

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

Thanks for your reply. Please excuse my ignorance, I am fairly new to Matlab/Octave. In the case of Octave, you could load a windows package which enabled you to establish a COM server even on mac. Do you know whether there is such a thing for Matlab? Or do you know where I can read about establishing a communication between Matlab and a programme on mac?
Are you running MATLAB native on the Mac (OS-X version), or are you running MATLAB inside Wine (Windows version)?
I am having the same problem. I have MATLAB on Mac, and I am using Wine to run FEMM.
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.
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!