Random numbers between simulation runs

Random numbers between simulation runs

System Designer is working on a system that captures statistics on random data generated by a Processing block using the ‘irand’ method. He would like to conduct Monte Carlo simulations and therefore would like the results from each simulation run to differ. How does he go about setting the seed for the irand generator so that it uses a different seed value during each simulation run?

At the top-level, place a parameter with a RegEx function called seed(integer number). For each simulation, he can use a different value.

When you run the model with the same seed, the simulation output remains the same. When you change the seed for each simulation, each simulation has a different result.