change_path_makefile - change the path of the toolbox directory in makefile
txt = change_path_makefile(MakeName)
- MakeName : string. path+name of the Makefile
- txt : vector of strings. text of the new Makefile file
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
IRCOM Group
Alan Layec