Changeset 241 in ETALON for simulations


Ignore:
Timestamp:
Jun 15, 2015, 6:04:04 PM (9 years ago)
Author:
malovyts
Message:

log are now saved in folder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • simulations/Potylitsyn/StartSimulation.m

    r240 r241  
    66simplified=false; % true - it will calculate simplified model
    77                  % false - not
    8 
     8f not(isdir('logs'))
     9    mkdir('logs');
     10end
    911% open file for writing status of the program
    10 log1 = fopen(['log' datestr(now, 'yyyy_mm_dd_tHH_MM_SS') '.txt'], 'w'); 
     12log1 = fopen(['logs/log' datestr(now, 'yyyy_mm_dd_tHH_MM_SS') '.txt'], 'w');
    1113%display START and Time of start of the program
    1214disp('=======================START======================')
Note: See TracChangeset for help on using the changeset viewer.