I am not sure if this is a bug or it has other reasons but there are empty rows in a text file created with dlmwrite. Since I want do use the file on a Windows machine, I chose to use the parameter "newline" , "pc" and to cut down the precision using "precision", "%.4f .
Without the precision parameter, dlmwrite (save_path_temp, output_matrix, "delimiter" , "," , "newline" , "pc") creates 2 empty rows.
And if I do not use the "newline" parameter but the precision-parameter
dlmwrite (save_path_temp, soltrace_matrix, "delimiter" , "," , "precision", "%.4f") everything works fine. There are no empty rows.
Any ideas what could cause this problem?
Kind regards, Walter
[Prev in Thread]
[Next in Thread]
unexpected empty lines while using dlmwrite,