I need different seeds in simulink matlab functions

4 views (last 30 days)
To produce different random patterns in different simulations, I used rng('shuffle') in my simulink "matlab function" block. While it changes the seed, the results of rand are repetitive. Why? and how can I get different random patterns?
I have Matlab R2016b
Thank you very much

Answers (0)

Categories

Find more on Random Number Generation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!