So I'm running into an increasingly annoying problem while using Oct2Py in my python code to run a few Matlab codes. Every time I run Oct2py in my script it opens in my processes an octave-cli.exe *32 for each one but does not close it after the process is finished. Since I have multiple uses of it and now wish to have a loop of about a thousand this has become a problem.
Is there some command I can give to close the octave client after the run has been performed? I haven't found any references about this.
Something like:
ans = oc.read_file(filename)
close(octave)