Clear Filters
Clear Filters

How to Convert xls file to txt file in matlab?

23 views (last 30 days)
I have ExcelFile.xls, with column 'Name' 'Distance' 'Result' dll.
how I can convert that file to txt file?
thanks
  1 Comment
Rik
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?

Sign in to comment.

Accepted Answer

Bhaskar R
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)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!