randint is undifined in 2018a
30 views (last 30 days)
Show older comments
randint is undifined in 2018a
1 Comment
Accepted Answer
Steven Lord
on 8 Oct 2019
According to the Communications Toolbox Release Notes the randint function was removed in release R2016b. The suggested replacement is randi. Note that the order of the inputs to randi and the order of inputs to randint are different. The range is the third input to randint but the first input to randi (and it behaves a little differently if that range input is negative), so converting your code is not as simple as doing a Find and Replace.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!