Fixed matlab issue with unsigned char types
parent
fc437cc641
commit
73b4f35e02
|
@ -30,7 +30,7 @@ string Argument::matlabClass(const string& delim) const {
|
||||||
string result;
|
string result;
|
||||||
BOOST_FOREACH(const string& ns, namespaces)
|
BOOST_FOREACH(const string& ns, namespaces)
|
||||||
result += ns + delim;
|
result += ns + delim;
|
||||||
if (type=="string")
|
if (type=="string" || type=="unsigned char")
|
||||||
return result + "char";
|
return result + "char";
|
||||||
if (type=="bool" || type=="int" || type=="size_t" || type=="Vector" || type=="Matrix")
|
if (type=="bool" || type=="int" || type=="size_t" || type=="Vector" || type=="Matrix")
|
||||||
return result + "double";
|
return result + "double";
|
||||||
|
|
Loading…
Reference in New Issue