Skip to main content

Questions tagged [matlink]

Use this tag for questions about the MATLink package, an interface for calling MATLAB from Mathematica. Not to be confused with MathLink!

0 votes
0 answers
28 views

Which function should I use to close MATLink, DisconnectEngine or CloseMATLAB?

I'm using the MATLink package to call Matlab inside Mathematica. However, I want to know, if I want to close the link between Matlab and Mathematica, which function should I use? The ...
narip's user avatar
  • 381
1 vote
0 answers
43 views

Why my MATLink must execute the command `OpenMATLAB[]` twice to realize once normal `OpenMATLAB[]` command?

Problem description To use Matlab code in Mathematica I have tried to use the package MATLink. However, everytime I run the code below ...
narip's user avatar
  • 381
4 votes
1 answer
103 views

How to use a personal function in Matlab within Mathematica utilizing Matlink?

Problem description I've written a function in Matlab as follows: function z = testfuncadd(x,y) z = x + y; end I want to use this function within Mathematica ...
narip's user avatar
  • 381
1 vote
0 answers
99 views

An Error in `MATLink`

I downloaded MATLink to the directory generated by the command: (Matlab 2022b and Mathematica 13.1 on windows 10) ...
RF_1's user avatar
  • 682
0 votes
1 answer
168 views

Cannot open MATLAB from MATHEMATICA

I am using MATLAB R18 and MATHEMATICA 12. I downloaded MATlink to the directory generated by the command: ...
Md Salem's user avatar
4 votes
1 answer
116 views

MATLink: MEngine compilation error

Following the instructions in the MATLink website I am posting my issue when compiling MEngine on a Linux machine. I have checked that csh, ...
Alex's user avatar
  • 351
2 votes
0 answers
38 views

What is the proper way to cite MATLink in a paper?

I would like to propery cite MATLink in a paper. What is the recommended way of doing so? Thank you.
Cristian Em.'s user avatar
1 vote
1 answer
105 views

MATLink - error mengine "entry points not found"

I've successfully installed MATLink and used it in the past, but for some reason a couple of days ago it stopped working. It's maybe due to a Windows update? The error thrown is the following: This ...
Cristian Em.'s user avatar
0 votes
0 answers
104 views

Problem with MATLink use with Mathematica

After installing MAThLink I started its use in Mathematica: Needs["MATLink`"] OpenMATLAB[] I got the following output: ...
adam's user avatar
  • 1
0 votes
0 answers
100 views

Is it possible to implement this Matlab code for the normal form of a bipartite operator in Mathematica?

I am interested in converting the $16 \times 16$ ("density") matrix ...
Paul B. Slater's user avatar
6 votes
1 answer
226 views

MATLink bug when compiling mengine

Per the instructions here I should post a question on this forum with my bug. Essentially I have an error when compiling mengine. I'm trying to run a mathematica notebook on a linux server which needs ...
Cris's user avatar
  • 63
0 votes
1 answer
79 views

no succession to transfer data to MATLAB using matlink

I tried to work with MATLink. I have MATLAB R2014b on Win10, and Mathematica 12.0. I followed all the instructions from the MATLink website, but I did not get any outputs / notifications / something ...
GM_jnj's user avatar
  • 131
2 votes
1 answer
257 views

Problem in setting up MATlink

I am trying to set up a MATlink using the instructions given here. I get an error while running the following commands Needs["MATLink`"] OpenMATLAB[] Error: <...
Natasha's user avatar
  • 359
2 votes
0 answers
73 views

Matlink reconnections after timeout requiring OpenMATLAB twice

My connection from Mathematica to MATLAB using Mathlink seems to timeout after some time of inactivity. In order to reconnect I have to issue these commands: ...
Gustavo Delfino's user avatar
1 vote
0 answers
129 views

OpenMATLAB[] hangs

I just migrated my Mac from one machine to a new one and it seems like MATLink is broken now. When I call OpenMATLAB[] in Mathematica the command hangs forever. I ...
MaxJ's user avatar
  • 1,535

15 30 50 per page