Fonction Scilab
eng - fr


find_num_block - cherche les numéros des blocs scicos dans une liste Info

Librairie

Séquence d'appel

n = find_num_block(Info,name)

Paramètres

Description

Add here a paragraph of the function description. Other paragraph can be added

Add here a paragraph of the function description

Exemple

Add here scilab instructions and comments

Contenu du fichier


//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

Fonction(s) utilisée(s)

Add here the used function name and references

Auteurs

enter here the author name Add here the author references