h2 = h.plus(offset)
h2 = h + offset
| Parameter | Description |
|---|---|
| h | a libpointer handle. |
| offset | a integer value: increment. |
plus operator on libpointer handle.
ouptut libpointer is valid only as long as the original input libpointer exists.
x = [1 2 3 4 5];
xPtr = libpointer('doublePtr', x);
y = xPtr + 2;
y.reshape(1, 3);
y.Value
| Version | Description |
|---|---|
| 1.0.0 | initial version |