问题
I would like to add Octave in my PATH environment variable. Is there a lineguide like the following?
http://www.java.com/en/download/help/path.xml
回答1:
Suppose you installed Octave in a folder myOctave, and the path to it is myPath which may be something like C:\Program Files\. Then, you could launch the cmd of your windows, and type the following
set PATH=%PATH%;myPath\myOctave\bin
Here is a detailed example based on my own Octave path and directory. My Octave is installed here E:\Programs\Octave\Octave-4.0.0, and thus under the cmd window, I run
set PATH=%PATH%;E:\Programs\Octave\Octave-4.0.0\bin
Then you are all set.
if you run open Command promt and type octave --gui ( it will open Graphical interface) else if you just type octave (it will open command interface).
来源:https://stackoverflow.com/questions/34228982/how-can-i-add-octave-in-path-environment-variable-in-windows-8