Question: how to convert text file to excel in matlab?
Answer: Answers (1) You can use ' readtable ' or ' textscan ' to read . txt files into a Table or Cell-Array. You can then use ' writetable ' to write it to Excel file. The 'writetable' function allows you to write to a specific sheet and range.