I am using 'parsim' to simulate a model in parallel. I am looking for a way to transfer the variables I need to the workers, without using the option 'TransferBaseWorkspaceVariables'.
In fact, when I perform a large number of runs the variables get very large and MATLAB crashes halfway through my simulations. I believe this is related to a RAM problem with transferring the variables to each of the workers.
Is there an alternative approach I can use?