InplaceArray: a semi-pointer package for Matlab
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 (https://www.mathworks.com/matlabcentral/fileexchange/24576-inplacearray-a-semi-pointer-package-for-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: SHAREDCHILD creates a shared data copy of contiguous subset, sharedmatrix, MxArrayDefinition
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
InplaceArray/
Version | Published | Release Notes | |
---|---|---|---|
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 |