I have the following code. I am not sure why the newline is not creating a new line. I use dlm write to write out footer to a '.env' file. But I don't think that makes a difference.
footer = ['''A'' 0 \n'];footer = [footer, num2str(depth_bottom) ' ' num2str(avg_ssp) ' ' num2str(0) ' ' num2str(1) '\t/\n'];
This is the output I am getting.
>> footerfooter = ''A' 0 \n5000 1600 0 1\t/\n'
The actual output should be:
'A' 0 5000.0 1600.00 0.0 1.0
Best Answer