randsrc() in SimEvents simulink
3 次查看(过去 30 天)
显示 更早的评论
Maria del Mar Morejón de Girón Albelda
2021-3-30
评论: Maria del Mar Morejón de Girón Albelda
2021-3-30
I would like to get a random number with different probabilities in a Simevents block but when I use it it says: "Function 'randsrc' not supported for code generation."
Is there a similar function as randsrc but for SimEvents blocks?
Thank you in advance.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete-Event Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!