How to run MATLAB code in Mathematica?

Respuestas (1)

Rik
Rik el 19 de Mayo de 2021

0 votos

A quick google search suggests two options:
  1. Translate the code to Mathematica
  2. 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)

3 comentarios

Ammy
Ammy el 22 de Mayo de 2021
How to translate the code?
Rik
Rik el 22 de Mayo de 2021
By learning Mathematica and re-implementing what you have written in that languague. There doesn't seem to be an obvious shortcut.
Walter Roberson
Walter Roberson el 22 de Mayo de 2021
https://library.wolfram.com/infocenter/MathSource/577/ converts Mathematica syntax to MATLAB. It does not match all library names.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Preguntada:

el 19 de Mayo de 2021

Comentada:

el 22 de Mayo de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by