A file created using FPRINTF with MATLAB for the PC may not be readable by the Notepad editor. Notepad views the file as one long line.
MATLAB: Does FPRINTF put strange characters in files when using MATLAB for the PC under Windows or DOS
\\ndelimitersdosfprintfMATLABnewlineterminator
Best Answer