Queue simulation using freemat

Hi guys, does anyone know how to code in freemat? I need to do queue simulation using freemat but I’m stuck at some points but I couldn’t find any solution online. Appreciate it if any of you who are familiar with freemat could help me with my problem.