从
http://sourceforge.net/projects/octave/files/Octave_Windows%20-%20MinGW/Octave%203.6.0%20for%20Windows%20MinGW%20installer/
中下载
Octave3.6.0_gcc4.6.2_20120129.7z (主 程序包)
Octave3.6.0_gcc4.6.2_pkgs_20120128.7z (Octave 附带的工具包)
两个包。
把两个文件都解压。
把主程序包复制到C根目录下,如下
C:\Octave\Octave3.6.0_gcc4.6.2\
|-------------------bin
|-------------------doc
把Octave 附带的工具包的内容复制粘贴(覆盖)到C:\Octave\Octave3.6.0_gcc4.6.2\ 下
启动
C:\Octave\Octave3.6.0_gcc4.6.2\bin\octave.exe
运行
- > pkg rebuild -auto
- > pkg rebuild -noauto ad windows
- > pkg rebuild -auto java
- > exit
重新启动Octave,如下:
D:\Octave\Octave3.6.4_gcc4.6.2\bin>octave.exe
GNU Octave, version 3.6.4
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "i686-pc-mingw32".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html
Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type `news'.
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\center.m shadows a
core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\cor.m shadows a cor
e library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\corrcoef.m shadows
a core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\cov.m shadows a cor
e library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\detrend.m shadows a
core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\iqr.m shadows a cor
e library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\kurtosis.m shadows
a core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\mean.m shadows a co
re library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\meansq.m shadows a
core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\median.m shadows a
core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\moment.m shadows a
core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\normcdf.m shadows a
core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\norminv.m shadows a
core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\normpdf.m shadows a
core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\prctile.m shadows a
core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\quantile.m shadows
a core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\range.m shadows a c
ore library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\ranks.m shadows a c
ore library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\skewness.m shadows
a core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\spearman.m shadows
a core library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\std.m shadows a cor
e library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\sumsq.m shadows a b
uilt-in function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\tcdf.m shadows a co
re library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\tinv.m shadows a co
re library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\tpdf.m shadows a co
re library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\var.m shadows a cor
e library function
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\nan-2.5.5\zscore.m shadows a
core library function
warning: gmsh does not seem to be present some functionalities will be disabled
warning: dx does not seem to be present some functionalities will be disabled
warning: function D:\Octave\Octave3.6.4_gcc4.6.2\share\octave\packages\statistics-1.2.0\fstat.m shad
ows a core library function
理解这些语句:看似引用《Octave 学习笔记》 by 2013-6-29 Simon flysyq@gmail.com
包的安装和管理:下载包覆盖到 Octave 安装目录后,在Octave 提示符下运行pkg rebuild -auto,下次启动Octave就自动加载所有包,如果不想自动加载某些包,因为某些包会引起冲突和警告,可以运行 pkg rebulid -noauto package_name,加载和卸载某个包的方法是pkg load/unload package_name.