MATLink
MATLink copied to clipboard
Communicate with MATLAB from Mathematica
I am following the instructions to install Matlink in windows. It is showing error. It seems all the files are not available properly in the zip file.
Matlab's Chinese coding is GBK, but Mathematica doesn't support the coding, so that Chinese output is messy code When running a Matlab's script in Mathematica.
Here's a small example of how pure functions fail: ```mma In[7]:= fun = MFunction["fun", "@(x)(x*x)"]; In[8]:= fun[3] During evaluation of In[8]:= MATLink::errx: Previously accessible file "/private/var/folders/31/l_62jfs110lf0dh7k5n_y2th0000gq/T/MATLink191006193822210uhjRgzkOEq/uKtxpwfYskhagiWAUbTICGodXvQBEFnSOVLmJDcljNMeqRZyrH.m" is now inaccessible. Out[8]=...
We use [the old C MATLAB Engine API](https://uk.mathworks.com/help/matlab/matlab-api-for-c.html?s_tid=CRUX_lftnav). Our experience was that it is buggy, slow and has many limitations. We should investigate using [the new C++ API](https://uk.mathworks.com/help/matlab/Cpp-api.htm). It seems...
I had an issue installing on Windows and I scratched my head for about 30 minutes trying to figure out what it was. It turns out I extracted the .zip...
Recent versions of MATLAB use objects/classes more and more frequently. Unlike structs, objects cannot be accessed with the C APIs. It would be nice if a future version of MATLink...
`MCell` can be used to explicitly cast an expression to a cell, i.e. force interpretation as a cell. ``` MFunction["class"][Range[5]] "double" MFunction["class"][MCell@Range[5]] "cell" ``` It would be useful to add...
Since Mathematica 10 it is necessary to link with `libuuid` on Linux. We need to investigate whether the system's UUID library is compatible with Mathematica on recent Linux distros. There...
In the long term, we'll need to support transferring `Inf` and `NaN` from MATLAB to Mathematica. At the moment these quantities show up as `Inf`` and `Nan`` in Mathematica and...
Since changing `MEvaluate` to use `evalc`, the `help` command returns HTML. Example: ``` In[15]:= MEvaluate["help pi"] Out[15]= " pi 3.1415926535897.... pi = 4*atan(1) = imag(log(-1)) = 3.1415926535897.... Reference page in...