diff --git a/models/run.sh b/models/run.sh index 45eb4892f175e9e02d5f30feb9670f215f776c64..8db1742fc5ed2dd0725c5a5be516d35a6f845a17 100755 --- a/models/run.sh +++ b/models/run.sh @@ -2,15 +2,15 @@ while [ ! -f m10-done.info ] do - matlab -batch "MODELS=1; compute_transition;" || echo "Matlab crashed. Skip this configuration and run next one." + matlab -batch "MODELS=1; compute_transition;" |& tee -a m10.log done while [ ! -f m20-done.info ] do - matlab -batch "MODELS=2; compute_transition;" + matlab -batch "MODELS=2; compute_transition;" |& tee -a m20.log done while [ ! -f m30-done.info ] do - matlab -batch "MODELS=3; compute_transition;" + matlab -batch "MODELS=3; compute_transition;" |& tee -a m30.log done