is there any idea on how to compare an .xls file and .csv file?
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm trying to compare two files, .xls(screenshot1) and .csv(screenshot2). It should verify that every word contained on .csv is present on .xls file. and write in column B (of File1) OK if the word exist in both files.
I am a beginner in matlab, any help would be much appreciated.
Thanks!
1 个评论
Rik
2019-5-24
What have you tried so far?
Hint: useful functions in this case include xlsread, fileread (and/or fopen, fread, and fclose), ismember, and xlswrite.
采纳的回答
KSSV
2019-5-24
- Load bot the data into MATLAB using xlsread.
- Get the common strings using ismemebr, contains
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!