| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
A string mxArray stores its data elements as mxChar rather than as char.
The header file containing this type is:
#include "matrix.h"
See mxmalloc.c in the matlabroot/extern/examples/mx folder .
Additional examples:
explore.c in the matlabroot/extern/examples/mex folder
mxcreatecharmatrixfromstr.c in the matlabroot/extern/examples/mx folder
![]() | mxCalloc (C and Fortran) | mxClassID (C) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |