您的位置:首页 > 编程语言 > MATLAB

matlab ompbox安装教程

2016-03-23 22:33 791 查看
ompbox10工具包安装教程:

OMPBox installation:

--------------------

1. Unpack the contents of the compressed file to a new directory, named e.g. "ompbox".

2. If you have not done so before, configure Matlab's MEX compiler by entering

>> mex -setup

prior to using MAKE. For optimal performance, it is recommended that you select a compiler

that performs optimizations. For instance, in Windows, MS Visual Studio is preferred to Lcc.

3. Within Matlab, navigate to the OMPBox directory, and then to the "private" directory within it,

and enter MAKE to run the compilation script.

4. Add the OMPBox package directory to the Matlab path (you can use the ADDPATH command for this).

Do not add the private directory to the path.

下载ompbox10工具包之后,里面有个readme.txt文件,上面写的就是安装教程,不过是英文的。其主要步骤如下:

1、解压ompbox10工具包,将解压后的文件夹命名为ompbox;

2、如果matlab没有配置MEX编译器的话,需要配置编译器。配置方法:在matlab命令窗口输入mex -setup,然后根据提示一步步操作。如果之前已经配置过了,可跳过这一步;

3、在matlab中进入到文件夹ompbox路径下,再进入到文件夹private中,在命令窗口输入make运行;

4、将文件夹ompbox的路径添加到matlab中即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: