I am trying to use oct2py to run octave script(.m file) in python. here is the code
import os
os.environ['OCTAVE_EXECUTABLE'] = ('C:\\Program Files\\GNU Octave\\Octave-6.2.0\\mingw64\\bin\\octave-cli.exe')
import oct2py
out = oct2py.Oct2Py()
out.source('main.m')
it runs my .m file and shows the results also but after that I receive following error.
error: 'sentinel' undefined near line 99, column 99
error: called from
_pyeval at line 99 column 10
whats going wrong here?