VideoWriter - Error using FilesLoad

1 visualizzazione (ultimi 30 giorni)
When trying to a video using VideoWriter function and I am returned the following error:
Error using FilesLoad (line 119)
Unable to find file. Ensure file exists and path is valid.
The code is simply:
writerObj = VideoWriter("Controller1:50 Controller2:20.avi");

Risposta accettata

Walter Roberson
Walter Roberson il 19 Ott 2022
Spostato: Walter Roberson il 19 Ott 2022
Are you using Windows? Colon is not a valid character in a windows file name except for drive indicator
  1 Commento
Adam Handley
Adam Handley il 19 Ott 2022
Spostato: Walter Roberson il 19 Ott 2022
Perfect. I can't believe I missed that.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by