Scilab Function
eng - fr


change_path_makefile - change the path of the toolbox directory in makefile

Library

Calling Sequence

txt = change_path_makefile(MakeName)

Parameters

File content


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

Authors

IRCOM Group Alan Layec