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!