Simulink switch that is based on probability
Show older comments
How do you use Simulink to create a pathway with a switch that splits into two based on probability (for eg, 0.4 of the time goes through port A and 0.6 of the time goes through port B)?
1 Comment
Renato SL
on 13 Sep 2019
Are you using Simevents?
Accepted Answer
More Answers (1)
George Jacob
on 16 Sep 2019
0 votes
4 Comments
Jim Riggs
on 16 Sep 2019
If my answer was helpful, please accept it.Thanks.
Jim Riggs
on 17 Sep 2019
Um, you accepted your own answer, not mine.
George Jacob
on 17 Sep 2019
Jim Riggs
on 17 Sep 2019
Thank you.
For future reference, you should not post an answer to your own question, unless you are offering a solution that no one else has offered and that best fits the question. Put your comments in the comment section.
Also, feel free to "vote" for answers that are helpful/interesting to indicate that they have value.(you can vote for as many answers as you like)
Categories
Find more on Modeling 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!
