how to compare a string variable with a string?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
pricky
am 18 Jun. 2014
Kommentiert: pricky
am 18 Jun. 2014
Hi How to compare string variable with a string?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
SRI
am 18 Jun. 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
Siehe auch
Kategorien
Mehr zu String Parsing 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!