diff --git a/wrap/Argument.cpp b/wrap/Argument.cpp index ff42b33b1..ffac23a9d 100644 --- a/wrap/Argument.cpp +++ b/wrap/Argument.cpp @@ -30,7 +30,7 @@ string Argument::matlabClass(const string& delim) const { string result; BOOST_FOREACH(const string& ns, namespaces) result += ns + delim; - if (type=="string") + if (type=="string" || type=="unsigned char") return result + "char"; if (type=="bool" || type=="int" || type=="size_t" || type=="Vector" || type=="Matrix") return result + "double";