Thematlabsourcecodeofswitchqueuemodelsimulation.