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;
atan2
example at the end of this answer after your email). But maybe someone has already updated it and will answer here. $\endgroup$