diff --git a/wrap/Argument.cpp b/wrap/Argument.cpp index 062b7b120..9e2065494 100644 --- a/wrap/Argument.cpp +++ b/wrap/Argument.cpp @@ -27,8 +27,9 @@ using namespace wrap; /* ************************************************************************* */ string Argument::matlabClass() const { - if (type=="Vector") return string("double"); - if (type=="Matrix") return string("double"); + if (type=="string") return string("char"); + if (type=="bool" || type=="int" || type=="size_t" || type=="Vector" || type=="Matrix") + return string("double"); return type; }