It turns out that my 32 GB system is out of RAM.
allvars = whos;
memused_bytes = sum([allvars.bytes])
memused_GB = memused_bytes / 1e9
This returns about 23 GB workspace data.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!