安装SPAMS工具箱
来源:互联网 发布:斯坦福英语软件下载 编辑:程序博客网 时间:2024/05/29 14:15
PC环境:64位Win7,Matlab2013a + VS2010
第一步
SPAMS工具箱是c++代码,需要先编译才能使用
>> mex -setupWelcome to mex -setup. This utility will help you set up
a default compiler. For a list of supported compilers, see
http://www.mathworks.com/support/compilers/R2013a/win64.html
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Microsoft Visual C++ 2010 in D:\Microsoft Visual Studio 10.0
[0] None
Compiler: 1
Please verify your choices:
Compiler: Microsoft Visual C++ 2010
Location: D:\Microsoft Visual Studio 10.0
Are these correct [y]/n? y
***************************************************************************
Warning: MEX-files generated using Microsoft Visual C++ 2010 require
that Microsoft Visual Studio 2010 run-time libraries be
available on the computer they are run on.
If you plan to redistribute your MEX-files to other MATLAB
users, be sure that they have the run-time libraries.
***************************************************************************
Trying to update options file: C:\Users\Happy\AppData\Roaming\MathWorks\MATLAB\R2013a\mexopts.bat
From template: D:\Matlab\bin\win64\mexopts\msvc100opts.bat
Done . . .
**************************************************************************
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the new
API. You can find more information about this at:
http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html
Building with the -largeArrayDims option enables the new API.
**************************************************************************
:-)配置成功
第二步
首先修改compile.m文件
compiler='mex';use_multithread=false;
use_64bits_integers=false;
接着运行compile.m,build文件夹下查看编译成功的文件。p.s. 忽略出现的各种warning
第三步
打开test_release文件夹,选择文件test_archetypalAnalysis.m进行测试,结果如下
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!End
0 0
- 安装SPAMS工具箱
- spams----稀疏建模工具箱在MATLAB下的安装编译
- SPAMS稀疏建模工具箱
- SPAMS稀疏建模工具箱
- SPAMS稀疏建模工具箱
- SPAMS稀疏建模工具箱
- matlab---SPAMS稀疏建模工具箱
- SPAMS稀疏建模工具箱的简单使用说明
- 学习 spams --- 安装
- centos 7安装SPAMS
- Windows下关于稀疏编码建模工具箱SPAMS的配置
- 稀疏编码工具箱SPAMS windows下 Matlab接口配置
- SPAMS(稀疏和字典学习)工具箱的介绍、配置和使用
- 安装软件spams时报错error: template with C linkage
- 安装Python的稀疏表示软件包SPORCO和SPAMS
- 关于 cvx & spams 的两个版本的安装、测试
- ubuntu16.04环境下安装Python SPAMS包
- mexTrainDL - SPAms
- Oracle,day3
- android:installLocation的用法
- POJ2976————Dropping tests(二分法,最大化平均值)
- 多说评论如何显示最近访客
- 阿里云上 apt 安装 mysql5.7
- 安装SPAMS工具箱
- stursActionXML文件配置
- sparkStreaming集成Kafka
- 属于自己的《程序员的自我修养》之温故而知新
- Hibernate映射组成关系
- pat甲1118. Birds in Forest(并查集)
- android绘图初学
- 关于NFS服务器的使用
- (13)向量组的秩