use MatFile by Tim Hutt, the program can run outside MatLab