3

I have to run some Matlab scripts on Raspberry Pi. As per my understanding, Matlab is quite heavy and cannot be installed on Raspberry Pi. Are there any other safe alternatives? My Matlab code does not require Simulink and it involves simple matrices operations. I would really appreciate your help.

6

You could try installing GNU Octave. It's more-or-less compatible with Matlab, so you can run those scripts without rewriting them.

Alternatively, you could rewrite your code in Python, using numpy library for your matrices.

  • Is Octave lightweight, have not used it before? – Aisha Mar 9 at 18:03
  • It will run slower compared to a proper desktop computer, but it will run your code. You need to test your own script, if its memory and speed fits your application, it's all right. But I don't have your script to test. Also, my 1B+ machine is relatively weak to contemporary RPis and clones. – Nyos Mar 9 at 18:27
  • Many Thanks. Mine is 3 B. So I am assuming it would work fine. – Aisha Mar 9 at 18:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.