How do I play avi file created in Matlab?

68 views (last 30 days)
Yasuyuki Hamanaka
Yasuyuki Hamanaka on 26 Sep 2021
Edited: Kumar Pallav on 30 Sep 2021
Would you tell me how to play avi file created by Matlab function 'VideoWriter' in Windows Media Player?
I tried to update the player, but it cannot.
  1 Comment
Jan on 27 Sep 2021
Which version of Matlab, media player and operating system are you using? What does "it cannot" explicitly mean? Do you get an error message? How did you create the file?

Sign in to comment.

Answers (1)

Kumar Pallav
Kumar Pallav on 30 Sep 2021
Edited: Kumar Pallav on 30 Sep 2021
Refer this technical solution with a similar issue.
To open an avi file programatically, use 'implay()' function. Refer this for more on video viewer.


Community Treasure Hunt

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

Start Hunting!