InplaceArray: a semi-pointer package for Matlab

Manipulate (multi-dimensional) arrays in the in-place form

You are now following this Submission

This package helps to create "children" arrays that share the same data as the mother array. The children array can be shaped any customized size for later manipulation.

In short it provides some sort of equivalent C-"pointer" where Matlab lacks.

Extreme cautious when using this package, otherwise encountered crashes and memory leaks warranty. For "advanced" users only.

SPARSE, STRUCTURE are currently not supported

ATTENTION: Serious bug in testinplace.m in the first submission. Before the new fixed version is submitted please do not run this function (the rest is OK)

Cite As

Bruno Luong (2026). InplaceArray: a semi-pointer package for Matlab (https://in.mathworks.com/matlabcentral/fileexchange/24576-inplacearray-a-semi-pointer-package-for-matlab), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Improve the installation

1.4.0.0

Upload testinplace.m file with modifications reported previously (submission 2 & 3 upload wrong file, sorry)

1.3.0.0

Important Comment

1.1.0.0

Correct a serious bug in testinplace.m (could cause computer crash)

1.0.0.0