Fonction Scilab
eng - fr


return_block_cos - retourne les blocs d'une liste scs_m

Librairie

Séquence d'appel

tt = return_block_cos(name,libn,dbl)

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


//return_block_cos
//Entrée name : chemin+nom du fichier cos
//              ex : name=MODNUM+'/scs_diagr/dyna/chua/chua.cos'
//      libn : un identifiant de libraire (ex 'mod_num')
//      dbl : un drapeau pour les doublons
//sortie tt : La liste des blocks
function tt=return_block_cos(name,libn,dbl)
  if fileinfo(name)<>[] then
    //Vérifie cohérence des param
    [lsh,rsh]=argn(0)
    if rsh<3 then dbl='', end;
    if rsh<2 then libn='', end;
    if ~exists('libn') then libn='', end
    if ~exists('dbl') then dbl='', end
    
    //load scicos library
    load SCI/macros/scicos/lib

    //charge le ficier cos
    load(name);
   
    //appel return_block_name
    tt=return_block_name(scs_m,libn,dbl)
   
  else
    printf("Unable to find cos file");
  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