1. 一些可以替换的库(可跳过)
默认的库安装libblas.dll.OpenBLAS-v2.6.0-0-54e7b37_dynamicarch_nt4(自动检测CPU类型)
在目录下<your_install_dir>in directory 可以替换别的,别的库可以适应不同的CPU架构,使之高效
libblas.dll.ref - reference blas implementation, very slow but most stable
libblas.dll.OpenBLAS-v2.6.0-0-54e7b37_dynamicarch_nt4 - Openblas based, up to 4 threads, detects cpu architecture and selects respective lib
libblas.dll.OpenBLAS-v2.6.0-0-54e7b37_nehalem_nt4 - Openblas based, up to 4 threads, tuned for nehalem cpu architecture
libblas.dll.OpenBLAS-v2.6.0-0-54e7b37_core2_nt4 - Openblas based, up to 4 threads, tuned for core2 cpu architecture
libblas.dll.OpenBLAS-v2.6.0-0-54e7b37_sandybridge_nt4 - Openblas based, up to 4 threads, tuned for sandybridge cpu architecture
libblas.dll.OpenBLAS-v2.6.0-0-54e7b37_atom_nt4 - Openblas based, up to 4 threads, tuned for atom cpu architecture
libblas.dll.altas-3.8.4_ht-pentium - ATLAS based libblass, tuned for older ht-pentium (compiled by Tatsuro Matsuka)
libblas.dll.altas-3.8.4_corei5 - ATLAS based libblass, tuned for older core i5 cpu (compiled by Tatsuro Matsuka)
要替换直接删除替换原来的动态链接库dll
2. 安装核心文件
创建一个目录,比如
C:OctaveOctave3.6.4_gcc4.6.2
将该压缩文件Octave3.6.4_gcc4.6.2_20130408.7z的内容加压至安装目录
to the installation directory keeping the original directory structure as in
the archive (you can use 7-zip tool from http://www.7-zip.org/).
3.安装附带包
将Octave3.6.4_gcc4.6.2_pkgs_20130402.7z 加压至安装目录,保持原来的
目录结构。
为了及时更行新,在octave命令窗口输入以下命令:
pkg rebuild -auto
pkg rebuild -noauto ad % may crash octave when loaded and 'clear all' is executed
pkg rebuild -noauto nan % shadows many statistics functions
pkg rebuild -noauto gsl % shadows some core functions
pkg rebuild -auto java
如果你再安装包时有特殊需求,可以执行下面的命令(可跳过):
a. To interactively load or unload a package
pkg load <pkg_name>
or
pkg unload <pkg_name>
b. To disable auto-load for specific pkg <pkg_name>
pkg rebuild -noauto <pkg_name>
c. To enable auto-load for specific pkg <pkg_name>
pkg rebuild -auto <pkg_name>
d. To completely uninstall a package
pkg uninstall <pkg_name>
4. 将Notepad++作为默认编辑器
从http://notepad-plus-plus.org/ 下载并安装
编辑<your_install_dir>shareoctavesitemstartupoctaverc 该文件并
将这行代码 EDITOR('C:Program FilesNotepad++
otepad++.exe')解注释
对于win64 systems:
EDITOR('C:Program Files (x86)Notepad++
otepad++.exe');
5. 如果你打开octave碰到一些警告请忽略它。