Scilab Function
fr - eng


subst_ctxt - substitute text in a scicos context

Library

Calling Sequence

ctxt = subst_ctxt(scs_m,str1,str2)

Parameters

File content


function ctxt=subst_ctxt(scs_m,str1,str2)
 ctxt=scs_m.props.context;
 for i=1:size(ctxt,1)
  if strindex(ctxt(i),str1)<>[] then
   ctxt(i)=str2;
  end
 end
endfunction

Authors

IRCOM Group Alan Layec