I want to read MATLAB output by Fortran code. Therefore, I need to write MATLAB script to generate a text file with decimal notation. like: MATLAB code
x=123.45
fprintf(filetxt,'%f',x)
Output:
123.45
How to write output command or set format so I get this value in filetxt like:
1.2345d02
Maximum I can get is 1.2345e02 but I want to write like 1.2345d02