| Using the C Math Library | ![]() |
Selecting a Single Element
Use a scalar index to select a single element from the array. For example,
mlfAssign(&B, mlfIndexRef(A, "(?)", mlfScalar(5)));
performs the same operation as A(5) in MATLAB and selects the fifth element of A, the number 5.
| Overview | Selecting a Vector | ![]() |