Closed 3r1k0n closed 5 years ago
.."Also, please note that you need to restart VS for it to come into effect - took a while to figure that out! Working very well now - thanks again."
I will try this tomorrow
So you need to use "C:\Octave\Octave-4.4.1\bin\octave-cli.exe" if you want to specify it in your code.
However, if you want it to be available system-wide, you need to add something like this to system PATH and remove line 10 from your code:
I did both and more. The result was always the same.
So octave-cli.exe does not exist on your hard drive. If it doesn't work in command line, it won't work in this library.
Octave gui and octave-cli.exe are both installed and work otherwise.
I will try to restart VS and/or the machine and get back with the results
Just to confirm, it works after restarting Visual Studio.
Although it might have to do with Path's visibility after being updated, I don't know why setting the path directly wouldn't work. (I tried setting it directly to the exe)
(I tried setting it directly to the exe)
This does not work on Windows in general, not an Octave specific issue.
I am having trouble running the example project. I have Octave 4.4.1 installed as I can't find the links for 4.4.0 and have added "C:\Octave\Octave-4.4.1\bin" to the System Path variable. The path never gets loaded in the octave object and it's causing to throw an exception. If I manually specify the path to the bin, the result is the same.