MATLAB: How to Convert xls file to txt file in matlab

convertexceltext;

I have ExcelFile.xls, with column 'Name' 'Distance' 'Result' dll.
how I can convert that file to txt file?
thanks

Best Answer

Read ExcelFile.xls data and write that data to text file
Data = readtable('ExcelFile.xls');
writetable(Data, 'textfile.txt');
Related Question