Multiple instances of randi in Stateflow generate same sequence of numbers
11 views (last 30 days)
Sahithi Kanumarlapudi on 29 Oct 2019
'rng’ function can be used to control the random number generation.
Call this function before calling ‘randi’.
For more information in ‘rng’ refer to the following links