Fonction Scilab
eng - fr


return_size_scs_diagr2 - retourne la taille de la fenêtre graphique d'un diagramme scicos

Librairie

Séquence d'appel

txt = return_size_scs_diagr2(name,flag)

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


//Fonction qui retourne la taille d'un diagramme
//scicos spéciée dans un fichier SPECIALDESC
//Entrée name : nom du fichier (ex :'CONVOLGEN_f')
//       flag : html ou guide
//Sortie txt : nouvelle taille de la figure
function txt=return_size_scs_diagr2(name,flag)
if fileinfo(tex_path+lang+'/'+name+'/SPECIALDESC')<>[] then
 txt=[];
 tt=mgetl(tex_path+lang+'/'+name+'/SPECIALDESC');
 for i=1:size(tt,1)
    if flag=='html' then
      if strindex(tt(i),'size_scs_diagr_html')<>[] then
        ierror=execstr(tt(i),'eercatch');
        if ierror<>0 then
          printf("Format error in SPECIALDESC\n");
          break
        else
          txt=size_scs_diagr_html;
        end
      end
    elseif flag=='guide' then
      if strindex(tt(i),'size_scs_diagr_guide')<>[] then
        ierror=execstr(tt(i),'eercatch');
        if ierror<>0 then
          printf("Format error in SPECIALDESC\n");
          break
        else
          txt=size_scs_diagr_guide;
        end
      end
    end
 end

else
 txt=[];
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