VideoWriter - Error using FilesLoad

1 view (last 30 days)
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");

Accepted Answer

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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!