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 fileData = readtable('ExcelFile.xls');writetable(Data, 'textfile.txt'); Related SolutionsMATLAB: How to open a .txt file from a cell in excel through matlab. [~, ~, raw] = xlsread('AppropriateFilenameGoesHere.xls');filename = raw{17, 42}; %choose appropriate locationdata = dlmread(filename); MATLAB: To read .xls file http://uk.mathworks.com/help/matlab/ref/xlsread.html Related QuestionXlswrite to create file with xlsx extensionStructure to xls fileConverting txt to xlsx
Best Answer