Fixed matlab issue with unsigned char types

release/4.3a0
Alex Cunningham 2012-06-04 19:23:25 +00:00
parent fc437cc641
commit 73b4f35e02
1 changed files with 1 additions and 1 deletions

View File

@ -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";