| C Math Library Reference | ![]() |
C Prototype
mxArray *mlfStrcmp(mxArray *str1, mxArray *str2);
C Syntax
#include "matlab.h"
mxArray *S, *T; /* Input argument(s) */
mxArray *k = NULL, *TF = NULL; /* Return value */
mlfAssign(&k, mlfStrcmp(mxCreateString("str1"),
mxCreateString("str2")));
mlfAssign(&TF, mlfStrcmp(S,T));
MATLAB Syntax
k = strcmp('str1','str2')
TF = strcmp(S,T)
See Also
strcmp Calling Conventions | mlfStrcat | mlfStrcmpi | ![]() |