wlog_init - write begin simulation time in log file
wlog_init(u,flag)
- u :
integer. a file descriptor
- flag :
integer. a flag to set where display the information
- 1 :
display informations in the scilab window
- 2 :
display informations in a tcl/tk window
//initial simulation data
function wlog_init(u,flag)
tt=">> Begin new simulation : "+return_date()+"\n";
mfprintf(u,tt);
if (flag==1) then
printf(tt);
elseif(flag==2) then
init_ui();
ts=sprintf(tt);
put_list(ts);
end
endfunction
IRCOM Group Alan Layec