| C Math Library Reference | ![]() |
Find possible matches for a string
C Prototype
mxArray *mlfStrmatch(mxArray *str, mxArray *STRS, mxArray *flag);
C Syntax
#include "matlab.h"
mxArray *STRS; /* Required input argument(s) */
mxArray *i=NULL; /* Return value */
mlfAssign(&i, mlfStrmatch(mxCreateString("str"),STRS,NULL));
mlfAssign(&i, mlfStrmatch(mxCreateString("str"),STRS,
mxCreateString("exact")));
MATLAB Syntax
i = strmatch('str',STRS)
i = strmatch('str',STRS,'exact')
See Also
strmatch Calling Conventions | mlfStrjust | mlfStrncmp | ![]() |