0

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!

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

1 Answer 1

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.

https://askubuntu.com/questions/645600/how-to-install-octave-4-0-0-in-ubuntu-14-04

2
  • And now I just do "octave hello" or the like and it executes. Commented Jul 8, 2016 at 16:34
  • Thank you very much! Commented Jul 8, 2016 at 16:34

You must log in to answer this question.

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