Added matlab functions to read descriptors.