Please tell me what is the outfile in this code
Show older comments
[M,N,P,color] = size(phi);
disp('Writing to a file ...')
outfile = ['C:\temp\explicit_ball\output' int2str(n) '.img'];
fwriteid = fopen('outfile','w');
count = fwrite(fwriteid,phi,'float');
status = fclose(fwriteid);
I am not able to understand the following steps of this code
outfile = ['C:\temp\explicit_ball\output' int2str(n) '.img'];
fwriteid = fopen('outfile','w');
count = fwrite(fwriteid,phi,'float');
Please help me as to what is the extension of the outfile and where is it being stored?
Thanks a lot in advance
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!