libpointer_plus
plus operator on libpointer handle.
📝Syntax
h2 = h.plus(offset)
h2 = h + offset
📥Input Arguments
Parameter Description
h a libpointer handle.
offset a integer value: increment.
📄Description

plus operator on libpointer handle.

ouptut libpointer is valid only as long as the original input libpointer exists.

💡Examples
x = [1 2 3 4 5];
xPtr = libpointer('doublePtr', x);
y = xPtr + 2;
y.reshape(1, 3);
y.Value
🔗See Also
libpointer
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub