Using the C Math Library | ![]() ![]() |
Referencing the Contents of a Cell
To obtain the contents of a single cell, use braces in the indexing string to indicate that you are referencing the cell contents, not the cell itself.
mlfAssign(&c, mlfIndexRef(N, "{?,?}", mlfScalar(1), mlfScalar(2)));
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 | ![]() |