Read Excel file with Matlab
Show older comments
Hello, I have an Excel file with numbers and strings. If I use the function xlsread it gives me back only the numbers. How can I read the strings?
Accepted Answer
More Answers (2)
[num,txt,raw] = xlsread('myfile') ;
num gives only numbers.
txt gives only text data.
raw gives the complete file.
Ijaz Younis
on 6 Nov 2019
0 votes
[num,txt,raw] = xlsread('myfile')
1 Comment
Paruvachi Raja
on 21 Jan 2022
xlasread is not commended according MATHWORKS.
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!