Matlab reader for SDF files