Matlab中添加搜索目录

一.问题来源

  来自于一份大规模hash图像检索代码。

二.问题解析

2.1 添加目录

addpath('./utils/');

 2.2 添加目录及其子目录

addpath(genpath('./utils/.');

 

原文地址:https://www.cnblogs.com/hxsyl/p/4535249.html