I'm performing a large number of parallelized simulations using the parsim command.
Since I have 16Gb of RAM memory installed on my computer, could I launch, for example, 5000 simulations within the same parsim session? Considering that each simulation is about of 1 minute (simulated time) with a fixed-step of 1e-6[s], and that I need to save with the log 13 signals (undersampled with a fixed-step of 1e-4 [s]). The total amount of memory needed to store all the data will be for sure greater than the amount available on the RAM.
This is to know: how parsim manage the memory consumption? Does it take all the simulations' results in the RAM until the end of all simulations? Or it saves them in the HD?
Another question that came to me is: if each of these simulation was very long (let's say 1 hour of simulated time), could I launch it or MATLAB would crash due to the exceed of the RAM memory limit (even for one simulation)? There exist a way to simulate a long simulation overcoming the ram limit?
Thank a lot in avance.