MATLAB C Math Library
  Go to function:
    Search    Help Desk 
mlfColon    Examples   See Also

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



[ Previous | Help Desk | Next ]