Watch this Author's files
Great, just what I needed. However, line 97 in AviReadMex should be
AviVideo.GetDataImage( ((unsigned char*)mxGetPr(pMxIm)), iNumFrame-1);
as otherwise the first frame is skipped when using one-based indices from matlab.
good and fast
Contact us at files@mathworks.com