Fonction Scilab
eng - fr


change_path_makefile - modifie le chemin du répertoire de la boîte à outils dans un makefile

Librairie

Séquence d'appel

txt = change_path_makefile(MakeName)

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


function txt=change_path_makefile(MakeName)

  txt=mgetl(MakeName);
  for j=1:size(txt,1)

   //change scilab path
   if strindex(txt(j),'SCIDIR =')<>[] then
     txt(j)='SCIDIR = '+SCI;
   end
 
  //change MODNUM path
   if strindex(txt(j),'MODNUMDIR =') <>[] then
    txt(j)='MODNUMDIR = '+MODNUMDIR;
  end
  mputl(txt,MakeName);
 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