1
$\begingroup$

This question already has an answer here:

I just discovered MATLink and it's awesome. The only problem I have is that using OpenMATLAB[] opens a MATLAB session in the background and not the interactive GUI. So the only way I have to interact with this session is through Mathematica (via MATLink) and not directly, which is what I want to do. Is there any way to link Mathematica to an interactive MATLAB instance?

(I'm on Mac Sierra, Mathematica Version 11.0.1, MATLAB R2016b)

$\endgroup$

marked as duplicate by Szabolcs, Community Mar 10 '17 at 19:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ Related (duplicate?): (69937) $\endgroup$ – C. E. Mar 10 '17 at 19:12
  • $\begingroup$ @C.E. Thanks! this is exactly what I need, but unfortunately the AutomationServer is only available on Windows systems. Is there a solution for Mac? $\endgroup$ – yohbs Mar 10 '17 at 19:16
  • $\begingroup$ I spent a lot of time on this, including contacting the MathWorks support. There is no documented API that we could use to implement this feature on OS X. $\endgroup$ – Szabolcs Mar 10 '17 at 19:35
  • $\begingroup$ What's annoying is that they do provide this feature in their Python API, which uses an undocumented internal C++ API that would be just too much trouble to reverse engineer ... $\endgroup$ – Szabolcs Mar 10 '17 at 19:39
1
$\begingroup$

No, this is not possible on macOS and Linux due to the limitations of the MATLAB Engine C API.

Reference:

$\endgroup$
  • $\begingroup$ Bummer. Thanks. $\endgroup$ – yohbs Mar 10 '17 at 19:36

Not the answer you're looking for? Browse other questions tagged or ask your own question.