A MATLAB implementation of a frame-based scheduling simulator for packets with deadlines.