how to compare a string variable with a string?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi How to compare string variable with a string?
0 commentaires
Réponse acceptée
Plus de réponses (1)
SRI
le 18 Juin 2014
for example
inputData = 'Example';
outputData = strcmp(inputData,'Example');
If outputData = 1 means both the data are equal if 0 means it is not equal
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!