working test incl. delete and raw.dat for matlab graphs