safe_zeros(n, varargin)
Version 1.0.0.0 (1.63 KB) by
Sam Walder
Wrapper for 'zeros' that check physical memory available before execution
Very simple wrapper for the 'zeros' function which checks the physical memory available before executing the 'zeros' command. Helps alleviate some memory trobles
Cite As
Sam Walder (2026). safe_zeros(n, varargin) (https://uk.mathworks.com/matlabcentral/fileexchange/53611-safe_zeros-n-varargin), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Performance and Memory in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
