UPDATE**
I am submittng the scripts to a remote cluster using SLURM workload manager in LINUX. With this, I submit several jobs that are queued. I think some of these jobs may be submitted at the same time, and from what I have been reading, rng('shuffle') is dependent on the date and time that it is called. So becuase some of the scripts are submitted at the same time, they end up with the same seed.
However, I do not know how to fix this. Is there a way to either ensure different seeds are selected OR ensure SLURM jobs are not submitted at the same time?
Thank you in advance.