C Math Library Reference    
mlfColon

Create vectors and use in array subscripting

C Prototype

Arguments
mxArray *start
   Initial value.

mxArray *step
   Increment value, or final value if only start and end values are specified.

mxArray *end
   Final value, NULL if only start and end values are passed.

Description

This function lets you specify a vector index.

Example

This example specifies the vector [ 1 2 3 4 5 6 7 8 9 10 ].

This example is equivalent to a call to mlfCreateColonIndex().

See Also

mlfIndexAssign, mlfIndexDelete, mlfIndexRef, mlfCreateColonIndex, mlfEnd


 mlfAssign mlfComplexScalar