安装octave详解
阅读原文时间:2023年07月11日阅读:2

1. 一些可以替换的库(可跳过)

默认的库安装libblas.dll.OpenBLAS-v2.6.0-0-54e7b37_dynamicarch_nt4(自动检测CPU类型)

在目录下\bin 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:\Octave\Octave3.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

or

 pkg unload

b. To disable auto-load for specific pkg

 pkg rebuild -noauto

c. To enable auto-load for specific pkg

 pkg rebuild -auto

d. To completely uninstall a package

 pkg uninstall

4. 将Notepad++作为默认编辑器

http://notepad-plus-plus.org/ 下载并安装

编辑\share\octave\site\m\startup\octaverc 该文件并

将这行代码 EDITOR('C:\Program Files\Notepad++\notepad++.exe')解注释

对于win64 systems:

 EDITOR('C:\Program Files (x86)\Notepad++\notepad++.exe');

5. 如果你打开octave碰到一些警告请忽略它。

手机扫一扫

移动阅读更方便

阿里云服务器
腾讯云服务器
七牛云服务器