Define Missing MLTYPE Parameter
MATLAB® automatically converts C++ types to MATLAB types, as described in C++ to MATLAB Data Type Mapping.
If the C++ type for the argument is a string, then use these options to choose values for
the MLTYPE and SHAPE arguments in
defineArgument statements.
| C++ Type | MATLABType | DIRECTION | Options for SHAPE |
|---|---|---|---|
char*a |
| "input" | Scalar value |
char**char*[] |
| "input" | cell |
const char* |
| Scalar value | |
| "input" |
| |
const char**const
char*[] |
| "input" | Scalar value |
| "input" |
| |