MATLAB: SimEvents. How to simulate a queue timeout

SimEventstimeout

Hi,
I'm a SimEvents rookie trying to learn the ropes to model discrete systems. I'm following the tutorial to model the restaurant's server system and I'm stuck on part 7.
The model uses a Schedule Timeout block which is now obsolete in R2020b (version I'm using). So my question is, how can I simulate entities dropping from a queue in R2020b?
Thanks in advance.

Best Answer

After SimEvents onRamp my next port of call for training was the video series "Model a Discrete Event System", unfortunately the series date back from 2013, using an older version of MATLAB. The timeout block used in the video 7 is not available anymore, and according to the migration of legacy libraries page:
If your legacy model contains timeout blocks, do not migrate the model. You can still access legacy blocks to continue developing older models by using the blocks in the Legacy Block Library.
However, as per the reply above, there is one suggestion on how to achieve this programmatically. I'm marking my question as answered as there is no obvious way to implement timeouts with the default Entity blocks. Using the MATLAB Discrete-Event System instead seems the way to go.