function path=return_path_cos_file(name,tt_ml) tt=return_cos_file(tt_ml); path=[]; for i=1:size(tt,1) c=strindex(tt(i,2),name+'.cos'); if c<>[] then if c==1 then path=tt(i,1); break; end; end end endfunction