working with excel in MATLAB code
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
amirmasoud kochakzadeh
le 2 Jan 2020
Réponse apportée : amirmasoud kochakzadeh
le 4 Jan 2020
Hi every one,
I am working on an excel file that I attach it, and I want to compare two columns of that file and check if the value of them and if they are not equals, return 1. The excel file is not regular and number of rows are variable in each section and some empty cells are between the two sections. Now I want to know that how can I do this?
Thanks so much.
2 commentaires
Walter Roberson
le 2 Jan 2020
Excel Reader warns me that the sheet has formulas with circular references.
Réponse acceptée
Walter Roberson
le 2 Jan 2020
Col1 == Col2 | (isnan(Col1) & isnan(Col2))
2 commentaires
Walter Roberson
le 2 Jan 2020
array2table
Or these days it often makes sense to use readtable() instead of xlsread()
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!