Hai,
How to use newline for string of characters in fprintf?
outfile1 = fopen('samples_in.txt','w');
str = num2str( a.int );
fprintf( outfile1, '%s\n' ,str );
fclose(outfile1);
output:
it is writing into file as
1 23 34 34
but i want to write as
1
23
34
34
How can i achieve this?i searched in MATLAB do***entation and couldn't
find it?
pls suggest for this challenge..
regards,
raj