return_path_cos_file - return the directory of a specified cos file in a tt_ml list
path = return_path_cos_file(name,tt_ml)
- name :
string. the name of the scicos diagram to find (extension free)
- tt_ml :
tt_ml master_list. (see return_master_list)
- path :
string. path of scicos diagram file
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
IRCOM Group Alan Layec