How do I create a matrix of strings in a MEX-file with MATLAB 7.9 (R2009b)?

1 view (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 20 Nov 2009
There is a function available from the MATLAB API which does this :
mxCreateCharMatrixFromStrings
This function will allow you to create a populated 2-dimensional mxArray of strings.
For more information about this function, please consult your MATLAB External Interfaces documentation. This information is also available online at:
<http://www.mathworks.com/access/helpdesk/help/techdoc/apiref/mxcreatecharmatrixfromstrings.shtml#226151>

More Answers (0)

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!