| Using the C Math Library | ![]() |
Referencing a Cell in a Cell Array
To obtain a cell from a cell array, use parentheses in the indexing string to indicate that you are referencing the cell itself, not its contents.
mlfAssign(&c, mlfIndexRef(N, "(?,?)", mlfScalar(1), mlfScalar(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 | ![]() |