return_dir_cos - return path of a scicos file presents in the diagr_all list
txt = return_dir_cos(name,diagr_all)
- name : string. the name of the scicos diagram to find (extension free)
- diagr_all : vector of strings of size(n,2). this list is defined in load_generate_doc_function.sce
- txt : string. the path of the scicos diagram
//Focntion qui retourne le répertoire d'un
//fichier de simulation en regardant dans la
//liste diagr_all
function txt=return_dir_cos(name,diagr_all)
txt=[];
for i=1:size(name,1)
for j=1:size(diagr_all,1)
if name(i,1)==diagr_all(j,2) then
txt=[txt;diagr_all(j,1)]
end
end
end
endfunction
IRCOM Group
Alan Layec