I have a file VarName3.txt like this:
[2.2810000032.5935000032.7497500033.0622500033.062250003...
and negative values too. It is 1×1000.
The code I am using is:
fid=fopen('VarName3.txt','r');atensao=fread(fid,'float');fclose(fid);
When I type in Comand Window to check atensao, the answer is:
1.0e-03 * 0.0425 0.0000 0.0000 0.0006 0.0000...
Why it doesn't work? What am I doing wrong? Could someone teach me? Thanks a lot.
Best Answer