Using the C Math Library |
 |
Specifying the Target Array
Each indexing function takes a target array as its first argument. The subscript is applied to this array:
- For
mlfIndexRef()
, the first argument is the array that you want to extract elements from.
- For
mlfIndexAssign()
, the first argument is the array that you want to change elements of (be assigned to).
- For
mlfIndexDelete()
, the first argument is the array that you want to delete elements from.
Note
mlfIndexRef() takes an mxArray* ; mlfIndexAssign() and mlfIndexDelete() take mxArray** as their first argument.
|
| Calling the Indexing Functions | | Specifying the Index String |  |