use dlmwrite