- Translate the code to Mathematica
- Use a tool like matlink (I don't know if that still works, the last update on their github page was 4 years ago and the code itself seems unchanged in the last 8 years)
How to run MATLAB code in Mathematica?
35 次查看(过去 30 天)
显示 更早的评论
Is there any way to run MATLAB code in Mathematica?
0 个评论
回答(1 个)
Rik
2021-5-19
A quick google search suggests two options:
3 个评论
Rik
2021-5-22
By learning Mathematica and re-implementing what you have written in that languague. There doesn't seem to be an obvious shortcut.
Walter Roberson
2021-5-22
https://library.wolfram.com/infocenter/MathSource/577/ converts Mathematica syntax to MATLAB. It does not match all library names.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!