I try to save an 512x512 matrix of lena image into text file, which will be used for fpga processing.
I have use the recommended code:
A = round(rand(6,7)*9) % Write this to file.
fid = fopen('Mymatrix.txt','wt');
for ii = 1:size(A,1)
However, the output file miss many coefficients.
Is there any method to create an complete text file with tab between coefficients ?