How to Convert xls file to txt file in matlab?
23 views (last 30 days)
Show older comments
I have ExcelFile.xls, with column 'Name' 'Distance' 'Result' dll.
how I can convert that file to txt file?
thanks
1 Comment
Rik
on 30 Jan 2020
By reading the data and then writing it to a text file. Which of these two steps are causing you problems?
Accepted Answer
Bhaskar R
on 30 Jan 2020
Read ExcelFile.xls data and write that data to text file
Data = readtable('ExcelFile.xls');
writetable(Data, 'textfile.txt');
More Answers (0)
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!