How do I convert this cell array to a char array (obtained by reading in from a csv file using xlsread and the "raw" argument
A = [ 1] [ 2] [ 3] 'Y' [ 5] [ 6] [ 7] 'Y' 'X' [ 9] [10]
I need to output this to a text file and have used:
for row = 1:numel(A) fprintf(fileID,'%s\n',A{row}); end
but I get strange characters:
Best Answer