annotate toolboxes/bioakustik_tools/filesys/pathsdiff.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 function path_out=pathsdiff(root_path,substr_notwanted)
wolffd@0 2 path_out='';
wolffd@0 3 root_path=explode(';',root_path);
wolffd@0 4 for i=1:size(root_path,2)
wolffd@0 5 tmp_path=root_path{i};
wolffd@0 6 if(isempty(findstr(tmp_path,substr_notwanted)))
wolffd@0 7 path_out=strcat(tmp_path,';',path_out );
wolffd@0 8 end
wolffd@0 9 end