Video creator in matlab

matlab script that, from the retina output, attempts to create a
grayscale video. My video was all black, but I didn't sit and watch it
very long. Maybe adjust threshold?