Matlab数据降维工具箱drtoolbox 安装备忘

工具箱下载地址:百度云共享

工具箱 Readme.txt 原文内容:

Installation
------------
Copy the drtoolbox/ folder into the $MATLAB_DIR/toolbox directory (where $MATLAB_DIR indicates your Matlab installation directory). Start Matlab and select Set path... from the File menu. Click the Add with subfolders... button, select the folder $MATLAB_DIR/toolbox/drtoolbox in the file dialog, and press Open. Subsequently, press the Save button in order to save your changes to the Matlab search path. The toolbox is now installed.
Some of the functions in the toolbox use MEX-files. Precompiled versions of these MEX-files are distributed with this release, but the compiled version for your platform might be missing. In order to compile all MEX-files, type cd([matlabroot '/toolbox/drtoolbox']) in your Matlab prompt, and execute the function MEXALL.

另外注意:

在执行编译的 mexall命令前先:

  1. 修改 dijkstra.cpp 中 include<iosteam.h> 为 <iosteam>;
  2. 在 dijsktra.cpp 中加入一行 using namespace std;

 

posted @ 2013-12-06 11:40  Will Lau  阅读(841)  评论(0编辑  收藏  举报