Pointers and subscript pointers

Pointers implemented in Matlab

Download
Download

You are now following this Submission

Cite As

Jon Danisch (2026). Pointers and subscript pointers (https://www.mathworks.com/matlabcentral/fileexchange/30223-pointers-and-subscript-pointers), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Programming in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0

Added reshape(), let(), sub()
Subscripthandles can now be subscripted to return another subscripthandle. ex:
x = hnum(magic(10));
a = x(:,1:5);
b = sub(a,'1:5',:); %points to x(1:5,1:5)

Download
1.0.0

Download