Can I easily create queues and servers (etc.) without SimEvents?

5 ビュー (過去 30 日間)
Tony Martin
Tony Martin 2020 年 3 月 19 日
回答済み: Benjamin Thompson 2022 年 2 月 15 日
Hi,
I am new to event-based modeling and I am currently attempting to model a manufacturing process, in which I take a known distribution of products basically through an "assembly line" and track the backlogs, parts in queue, and throughput of the process. I have used Simulink in the past and currently have a license, but I do not currently have a SimEvents license. However, I have started a free trial to learn what all is possible. I am seeing the power in SimEvents, but I will ultimately have to convince my boss to spend the extra money on the licencse. Therefore, my main question is, is it really possible to do the same sort of queues and servers in Simulink without the SimEvents Toolbox? I'm pretty sure I know that it's possible, but how much extra labor in coding would it take to make my own blocks to do the same thing?
Thanks,
Tony

回答 (1 件)

Benjamin Thompson
Benjamin Thompson 2022 年 2 月 15 日
You could use a MATLAB Function block if you can code it in MATLAB code, or use a C++ S-Function with Simulink Builder if you would rather use a C++ queue container from the standard library.

カテゴリ

Help Center および File ExchangeDiscrete-Event Simulation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by