Fonction Scilab
eng - fr


wlog_sv - écrit les variables dans un fichier log

Librairie

Séquence d'appel

wlog_sv(u,lst,flag)

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


//Save variable
function wlog_sv(u,lst,flag)
  tt=">> Save simulated data :\n";
  for i=1:size(lst(1),1)
   tt=[tt+"<"+lst(1)(i)+">"+"\n!\n"];
   for j=1:size(lst(1+i),1)
    for l=1:size(lst(1+i),2)
     tt=[tt+string(lst(1+i)(j,l))+" "];
    end
    tt=[tt+"\n"];
   end
   tt=[tt+"!\n"];
  end
  mfprintf(u,tt);
  if (flag==1) then
   printf(tt);
  elseif(flag==2) then
   ts=sprintf(tt);
   put_list(ts);
  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