(1)| 12/3/2009 4:25 AM | |
|
Posts: 41 Rating:
|
Hi Everyone, I'm trying to create my own simulator block using SCL. Is there a command in SCL that generates a random no.? Like "X:=Random;" ? Thanks alot, mhike |
| 12/3/2009 7:25 AM | |
|
Posts: 8946 Rating:
|
Hi, there is no "random" in SCL, but it is an easy thing to do random numbers, if there is no need for a very high quality. Look for http://en.wikipedia.org/wiki/Linear_congruential_generator Good luck! |
Last edited by: IBN-Service at: 12/3/2009 7:26 AM |
|
This contribution was helpful to
|
|
Follow us on