how to compare a string variable with a string?
Ältere Kommentare anzeigen
Hi How to compare string variable with a string?
Akzeptierte Antwort
Weitere Antworten (1)
SRI
am 18 Jun. 2014
0 Stimmen
for example
inputData = 'Example';
outputData = strcmp(inputData,'Example');
If outputData = 1 means both the data are equal if 0 means it is not equal
Kategorien
Mehr zu String Parsing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!