txt = return_context_diagr(namef)
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
//return_context_diagr //fonction qui retourne le contexte //d'un diagrammme scicos contenue dans //le fichier 'name' //Entrée : name le nom du fichier à éexaminer // ex : namef=MODNUM+'/scs_diagr/dyna/chua/chua.cos' function txt=return_context_diagr(namef) txt=[] if fileinfo(namef)<>[] then ierror=execstr('load(namef)','errcatch') if ierror==0 then ierror2=execstr('txt=scs_m.props(""context"")','errcatch') if ierror2<>0 then printf("Error while reading context\n"); txt=[]; end else printf("Error while loading %s\n",namef); end else printf("file %s not found\n",namef); end endfunction