| Using the C++ Math Library | ![]() |
Referencing a Cell in a Cell Array
To obtain a cell from a cell array, use standard array notation (parentheses) on the right-hand side of the assignment to indicate that you are referencing the cell itself, not its contents.
c = N(1,2);
c is a 1-by-1 cell array containing the string array 'Eric'.
c = N(1,2) performs the same operation in MATLAB.
| Overview | Referencing a Subset of a Cell Array | ![]() |