Using the C++ Math Library    

Referencing the Contents of a Cell

To obtain the contents of a single cell, use the mwArray cell() member function to reference the cell contents instead of the cell itself. Pass the indices to cell().

c is the string array 'Eric'.

c = N{1,2} performs the same operation in MATLAB.


 Referencing a Subset of a Cell Array Referencing a Subset of the Contents of a Cell