Read Excel file with Matlab
显示 更早的评论
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?
采纳的回答
更多回答(2 个)
[num,txt,raw] = xlsread('myfile') ;
num gives only numbers.
txt gives only text data.
raw gives the complete file.
Ijaz Younis
2019-11-6
0 个投票
[num,txt,raw] = xlsread('myfile')
1 个评论
Paruvachi Raja
2022-1-21
xlasread is not commended according MATHWORKS.
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!