EDF parser for matlab