matlaboctave

How to execute .m files in Octave


How do I execute .m files in Octave?


Solution

  • In the Octave prompt, simply type file1.

    Of course, you need to make sure Octave can recognize its path.