Clear Filters
Clear Filters

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

1 view (last 30 days)
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

Answers (1)

Benjamin Thompson
Benjamin Thompson on 15 Feb 2022
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.

Categories

Find more on Discrete-Event Simulation 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!