How to write a multi-line text data into a text file via MatLab script?