SimEvents

SimEvents is a discrete event simulation tool developed by MathWorks.

It adds a library of graphical building blocks for modeling queuing systems to the Simulink environment.

[4] Integration with MATLAB allows customization of the process flow in a SimEvents model.

A MATLAB function can be developed to represent a task-scheduling sequence, routing of parts, or production recipes in a process flow.

Since the two programs are within the same tools environment, it is straightforward to generate custom random distributions of input tasks, optimize a process, as well as to generate custom statistics.