txt = return_size_scs_diagr2(name,flag)
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
//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