How to save a video created by 'VideoWriter' to specific file other than current file folder

15 visualizzazioni (ultimi 30 giorni)
I have created a video using 'VideoWriter'. However, it seems this video can only be save under the current file folder. How can I save the video to a specific file folder?
Thanks in advance!
Andy

Risposta accettata

Dinesh Iyer
Dinesh Iyer il 27 Lug 2015
Provide the full path to the location you want to save the file to when creating VideoWriter. On Windows for example:
vwObj = VideoWriter('C:\myloc\mydirInsideLoc\myfile');

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by