In the Octave prompt, simply type file1
.
Of course, you need to make sure Octave can recognize its path.
Domanda
How do I execute .m
files in Octave?
Soluzione
In the Octave prompt, simply type file1
.
Of course, you need to make sure Octave can recognize its path.
Altri suggerimenti
In octave prompt, type run("file1.m")
or entering the filename without .m
extension.
To run your Octave file in GNU Octave.
You can see the logs in command window
Be sure to check that your file name is same as the function name.