How to create an array of numbers in simulink?
13 views (last 30 days)
Show older comments
Siavash on 12 Feb 2015
Commented: Siavash on 13 Feb 2015
In Matlab when you want to create an array of random number you can easily use "rand" function. In simulink if you want to create such an array you should use "random number block" which is okay but it will change the numbers based on the model running time. If you want to define an interval in "Constant" block which is independent from running time, you can write 1:10 but it is not randomly normal. How can i create such a random number in simulink without relying on model time?
A Jenkins on 12 Feb 2015
in your constant block.
More Answers (0)
Find more on Sources 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!