forgot string will be 'char' class and some basic types (bool, int, size_t) that will be 'double'
parent
0c03fd010d
commit
33d6934a44
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue