InplaceArray: a semi-pointer package for Matlab

Manipulate (multi-dimensional) arrays in the in-place form
Updated 18 Jul 2012

View License

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 (2024). InplaceArray: a semi-pointer package for Matlab (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Structures in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Improve the installation

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

Important Comment

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