Last year I did a bit of programming using Matlab. I saw that the cs50 IDE supports Matlab files and I wanted to brush up on my skills. The only problem is that I cannot figure out how to execute said files. I have tried the ./ notation, but that returns with permission denied.

Any help is much appreciated!

  • you Need mex compiler I guess.
    – Wafeeq
    Jul 8, 2016 at 16:25
  • Could out elaborate further please? Jul 8, 2016 at 16:27
  • install 'octave'. It will interpret your matlab files.
    – Wafeeq
    Jul 8, 2016 at 16:28
  • see my answer in Detail how to install octave. Octave is similar like Matlab in GNU.
    – Wafeeq
    Jul 8, 2016 at 16:29

1 Answer 1


install octave. It will interpret your matlab files. https://en.wikipedia.org/wiki/GNU_Octave

sudo apt-add-repository ppa:octave/stable
sudo apt-get update
sudo apt-get install octave

There is more about installing octave in Linux Environment.



You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .