I meant an increase in the amount of memory available to Matlab. The memory >> rand >> memory series of commands, allows me to gain a temporary increase in the amount of memory that Matlab is using. However, I have to reset it every time I open Matlab for the first time.
Prior to using the memory >> rand >> memory series of commands, Matlab would only use 34 % of my available memory. When I opened other programs, then my memory usage increased. I am not sure what was capping the availability of memory. The series of memory commands allowed for the usage of up to 85 % of available memory by Matlab. However, as mentioned, I have to re-run the commands, every time I open Matlab.
The cap in the availability of memory was causing my program to run slowly. When the cap was released, I saw a 10 time improvement in performance.