Nom
strcmp (Matlab function) — Compare strings
Matlab/Scilab equivalent
|
Matlab
|
Scilab
|
strcmp(str1,str2)
|
str1==str2
|
Particular cases
Note that strcmp can be use with not string inputs, in this case Matlab returns 0. Scilab == will in this case return %T if both inputs are equal.