I have just started using Octave for running my Matlab (R2020b) codes. I am getting started with my use of Octave by running a simple function (“run_fun_092421.m”). The function runs successfully for the first time. When run the second time, it gives and error and thus fails to run.
Elapsed time is 0.0367429 seconds.
error: ‘run_fun_092421’ undefined near line 1, column 1
I have repeated running this function several times by now. Every time I get the same outcome: it runs successfully at the first time, but produces the error and fails.
Any help to fix this error would be greatly appreciated. Thanks!
run_fun_092421.m (807 Bytes)
- OS: Windows 10 Enterprise -64bit
- Octave version: Version 6.2.0
- Installation method: Downloaded and installed “octave-6.2.0-w64-64-installer” from Download