Hi there!
I have a mtarix of strings x_mtarix:
x_matrix =
5×3 string array
"A" "B" "C" "AA" "BB" "CC" "AAA" "BBB" " " "AAAA" " " " " "AAAAA" " " " "
which I would like to save in a text file that woul contain the x_matrix values keping the same appearance:
A B CAA BB CCAAA BBB AAAAAAAAA
I have used an assortment of variations of:
fid = fopen('output.txt','wt');fprintf(fid,'%s\n',x_matrix); fclose(fid);
But I dont quite get the results I want
Thanks in advance
Best Answer