retrieving data from excel sheet
1 次查看(过去 30 天)
显示 更早的评论
how can I search a name in the excel sheet column, the code should return the 0 or 1, or found or not found.
0 个评论
回答(1 个)
Walter Roberson
2020-7-14
readtable() the needed columns. ismember() the desired name with the table column variable as the second parameter.
Note: if you are doing that "distance between cities" exercise then you will have more work than I described above, because of the header line
4 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!