How to delete a frame after use?

My program reads a video from a directory and extracts frames from it and stores it in an output directory. Now, after I have done all my processes on those frames I no longer need those frames. So, how can I enable my program to delete those saved frames by itself at the end from the output directory?

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!