Main Content

plus

Class: lib.pointer
Namespace: lib

+ (plus) operator for pointer arithmetic

Syntax

hout = plus(h,offset)
hout = h + offset

Description

hout = plus(h,offset) returns pointer hout. Pointer hout is valid only as long as the original pointer, h, exists.

hout = h + offset is an alternative syntax.

Input Arguments

expand all

lib.pointer object, specified as a handle.

Scalar increment, specified as uint64, from h.

Version History

Introduced before R2006a