Matlab platform independent free memory

Related: free disk space check Matlab


Matlab’s built-in memory() command does not work on Linux or Mac.

For Matlab ≥ R2015a, the option Preferences > MATLAB > Workspace > Matlab array size limit attempts to stop the user from creating arrays that dig into swap memory (extremely slow).

Matlab maximum array size limit slider
configure Matlab maximum array size limit as percent of RAM

Leave a Comment