When compiling a standalone application, how can I include the class VideoReader?
1 view (last 30 days)
Show older comments
Yifei Wang on 31 Aug 2018
Commented: OCDER on 4 Sep 2018
VideoReader is a class definition in MATLAB toolbox. The toolbox should be included in MATLAB compiler, but it seems that this class definition is not included. I tried to add the M file into the 'files required', but I was not let to do that. So how can I add the class VideoReader?
readerobj = VideoReader(VideoName);
readerobj = VideoReader(fullfile(VideoPath, VideoName));
Always provide the full video file path, otherwise the compiled software cannot find the video file. The Matlab working paths are different form those of a compiled application.
More Answers (0)
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!