MATLAB: Read .asc of eyemovement asc I use Data= textread(FileName,'%s', 'delimiter', '\n'); to read .asc file of eyemovement, but all data in the same column like this: I want put every valuable depart by space in a cell, how can I do? Best Answer '/t' as delimiter Related SolutionsMATLAB: Convert cell to char and change to text file temp = strcat(cellstr(HHMMSS), {'; '}, X2);fid = fopen('file_name.txt', 'wt');fprintf(fid, '%s\n', temp{:});fclose(fid) MATLAB: How to append three text files together in a new text file % REad file1 fid = fopen(file1,'rt') ; % edited as suggested by Stephen CobeldickS1 = textscan(fid,'%s','delimiter','\n') ;S1 = S1{1} ;fclose(fid) ;% Read file2 fid = fopen(file2,'rt') ;S2 = textscan(fid,'%s','delimiter','\n') ;S2 = S2{1} ;fclose(fid) ;% Append both the files S12 = [S1 ; S2] ;% Write to file fid = fopen('data.txt','wt') ;fprintf(fid,'%s\n',S12{:});fclose(fid); Related QuestionHow to write this data into a text fileHow to read multiple file .txt by using readtableCan anyone read this file with matlab
Best Answer