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.

 채택된 답변

Nirav Sharda
Nirav Sharda 2016년 11월 28일
편집: Nirav Sharda 2016년 11월 28일

0 개 추천

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

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)?
Omar Ismail
Omar Ismail 2016년 12월 20일
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.
Jason Xu
Jason Xu 2019년 6월 1일
Hi Walter, just wondering is it possible to open the same multiple softwares by using actxserver? Thank you

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

질문:

2016년 11월 25일

댓글:

2019년 6월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by