The VideoIO toolbox is old uses a lot of deprecated matlab functionality. I will fix that.