addframe error when using R2016a version

i am using 2016a
tried to run this aviobj = avifile('video_KUL.avi','FPS',8,'compression','Indeo5');
since avifile is for old version i replaced with videowriter but i am getting addframe error after changing to videowriter .. another question,how to specify codec detail in videowriter

Answers (0)

Asked:

on 23 Apr 2017

Community Treasure Hunt

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

Start Hunting!