Compiler producing .exe in Windows does not support "vision.VideoPlayer" in Computer Vision System Toolbox 7.0. Is there other video player which Matlab compiler c an use?
Try vision.DeployableVideoPlayer.
vision.DeployableVideoPlayer