如何在Windows 8的PATH环境变量中添加Octave? [英] How Can I add Octave in PATH environment variable in Windows 8?
问题描述
我想在我的PATH环境变量中添加Octave.是否有类似以下的线指南?
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
推荐答案
假设您将Octave安装在文件夹myOctave
中,并且其路径为myPath
,可能类似于C:\Program Files\
.然后,您可以启动Windows的cmd
,然后键入以下内容
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
这是一个基于我自己的Octave路径和目录的详细示例.我的八度音安装在这里E:\Programs\Octave\Octave-4.0.0
,因此在cmd
窗口下,我运行
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
那你就准备好了.
如果运行open Command promt并键入octave --gui(它将打开图形界面) 否则,只要输入八度即可(它将打开命令界面).
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).
这篇关于如何在Windows 8的PATH环境变量中添加Octave?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!