Help with Simulink system?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi everyone,
I have been using matlab for some time now but I just recently discovered Simulink and I could use it for my work. If I just create a small example here could some one please guide me through the basic steps of Simulink ? That is how to put in arrivals, queing, servers and adding servers etc. I only found a bunch of electrical system simulations online.
Lets say we have a 24/7 gun range with four booths to shoot from, we have been having some waiting times recently and because we are a good company we want to make sure that we never have waiting time and our customers arrive every time of the day with the following measurement:
Time 1 2 3 4 5 6 Quantity 4 5 12 22 8 5
How is this done in Simulink ? basic system and we want to see what effect it has if we increase the servers, we want to have no one waiting.
Thanks, all the best.
댓글 수: 0
채택된 답변
Kaustubha Govind
2013년 5월 3일
Based on your problem description, it seems like SimEvents is the right product for you to use. Look under the "Videos and Examples" pane to learn more about how you might be able to apply this to your problem.
댓글 수: 2
Kaustubha Govind
2013년 5월 6일
Kjartan: Sorry, I don't really have experience with SimEvents, just familiar enough to know that it is the right solution for your problem. I'd suggest that you wait for a day or two to see if someone with experience will answer your question (you posted over the weekend, when a lot of people are inactive). Otherwise, please contact MathWorks Tech Support.
추가 답변 (1개)
Babak
2013년 5월 2일
In Simulink, equations are integrated in time. Your system doesn't seem to have governing (continuous or discrete) equations, instead you have relation in the form of if.. else.. (I'm not sure, you may want to elaborate more on this). If you agree with me, I think you need to use "stateflow" instead of Simulink.
참고 항목
카테고리
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!