| C++ Math Library Reference | ![]() |
C++ Prototype
mwArray strcmp(const mwArray &str1, const mwArray &str2=mwArray::DIN)
C++ Syntax
#include "matlab.hpp"
mwArray S, T; // Input argument(s)
mwArray k, TF; // Return value
k = strcmp("str1","str2");
TF = strcmp(S,T);
MATLAB Syntax
k = strcmp('str1','str2')
TF = strcmp(S,T)
See Also
strcmp Calling Conventions | strcat | strcmpi | ![]() |