How Can I add Octave in PATH environment variable in Windows 8?

烈酒焚心 提交于 2019-12-12 07:01:49

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!