n = find_num_block(Info,name)
Add here a paragraph of the function description. Other paragraph can be added
Add here a paragraph of the function description
Add here scilab instructions and comments
//find_num_block //fonction qui retourne les numéros des blocks //présents dans une liste Info ayant un nom //donné. // //Entrée : Info liste Info // name : nom du block a trouver //Sortie : n : numéro des blocks dans le diagramme de // nom name function n=find_num_block(Info,name) %cpr=Info(2) tt=%cpr.sim("funs"); j=1; n(j)=0; for i=1:size(tt) if tt(i)==name then n(j)=i; j=j+1; //break; else //n=0; end end endfunction