No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

2.0 | 3 ratings Rate this file 8 Downloads (last 30 days) File Size: 4.84 KB File ID: #142 Version: 1.0




Reads AVI-files and processes position of pixel maximum per frame

| Watch this File

File Information

Reads AVI-files and processes position of pixel maximum per frame
NOTE: supports only uncompressed plain avi(RIFF) files
Tested under MATLAB 5.2

MATLAB release MATLAB 5.2 (R10)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
05 Feb 2013 Cedric

Cedric (view profile)

Check of nargin must be reversed: first check if nargin <2, then <3, then <4 (otherwise, option2 is not defined)

Comment only
01 Oct 2009 David

David (view profile)

i dunno if it's me, but I'm continuously getting this error:

??? Index exceeds matrix dimensions.

Error in ==> AviRead2 at 117
if min(xx(h:(h+3))'==MOVI); %check for ID: 'movi'

22 Feb 2007 Reza Zahiri

The function actually reads the avi file and shows the specified frames on separate figures. But it doesn't export the frames! It would have been more appropriate if you could call the function like:

frames = AviRead('tst.avi',20);

where size(frame) = [row col frames]

rather than


What is the point of reading the data without providing access to them?

04 Apr 2003 J. Larsen

This function doesn't work.

Contact us