Import data from Excel to Matlab GUI
2 次查看(过去 30 天)
显示 更早的评论
Hi everyone!
Hope all is well!
I have a slight problem with uploading my excel file that includes TEXT and NUMBER to Matlab GUI (Uitable).
On my excel file i had TWO columns, 1st column in text format and the 2nd column in number format.
As shown below it only displays the second column NOT the first column.
I typed this on the command window on Matlab GUI:
>> data = xlsread('height.xlsx');
>> data
data =
55
83
79
40
58
0 个评论
采纳的回答
Adam Danz
2020-4-22
xlsread returns the numeric data in a matrix. The first column of your data are not numeric.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!