2

my question is a duplicate of : Is it possible to export the equations from Mathematica to MATLAB?

I did some symbolic calculations in Mathematica and want to transfer the result to Matlab. The ToMatlab-package is exactly what I need, but sadly it has some flaws, e.g. with atan2.

So, does anybody know a working alternative to the ToMatlab package?

EDIT:

Seems like this is also closey related

UPDATE:

Sadly the provided answer is not working for me. Actually most of the functions under

(*** Special cases of functions ************ 

are not working for me. E.g.

ToMatlab[Log[10, 3]] ==> log(3).*log(10).^(-1);
ToMatlab[Power[E, 2]] ==> exp(1).^2;

1 Answers1

1

There is a bug fixed version of ToMatlab:

https://pastebin.com/TcjErHVT

kiara
  • 1,585
  • 8
  • 9