Add readdmat.m.