I am using MATLAB R18 and MATHEMATICA 12. I downloaded MATlink to the directory generated by the command:

SystemOpen@FileNameJoin[{$UserBaseDirectory, "Applications"}]

Next I wrote:


Mathematica starts evaluation but fails to open MATLAB in the background. Any help would be appreciated.

  • $\begingroup$ Is there an information function that returns the details of the MatLab install? Perhaps you need to point MATLink to your MatLav installation. $\endgroup$
    – Edmund
    Mar 26, 2022 at 13:54

1 Answer 1


I found it out, the path that I should define in the system has to be where the *.dll files are located, not where the matlab.exe is located,

i.e., c\******\bin\win64

not c\******\bin

  • $\begingroup$ Add comments to your existing post or to answers. Delete this "answer" and add it as a comment to your initial post $\endgroup$
    – Edmund
    Mar 26, 2022 at 23:00
  • $\begingroup$ What operating system are you using? $\endgroup$
    – bbgodfrey
    Mar 26, 2022 at 23:53
  • $\begingroup$ This resolves the issue. The directory win64 has to be added to the $PATH variable on Windows. $\endgroup$
    – Syed
    Mar 27, 2022 at 5:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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