strcmp gives a 0 while it should be a 1
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Lieke van Boxtel
am 2 Apr. 2024
Kommentiert: Lieke van Boxtel
am 2 Apr. 2024
I am comparing names in 2 tables, to get the corresponding names and use that information. For this I am using strcmp, but for some of them they give back a 0 while they look the same to me, while for others it works fine. An example can be seen below, where it does not work. A week ago, this script was working perfectly fine. Where could I look to see what is different about these two, that it gives back a 0, so I can change what I need to.

0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Cell Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!