%avi to mat converter
%Reads 'cinepak' codec sucessfully, but not MPEG4
clear all

%filename='Hpuggal_4b'; frames=[1:400]; %1/2 front view

filename='Hdosata7'; frames=[1510:1700]; %1/2 front view
fout='1510to1700';

mov = aviread (...
    ['C:\Documents and Settings\bruce land\My Documents\DamianData\',filename,'.avi'],...
    frames);

filename=[filename,fout];
save (['C:\Documents and Settings\bruce land\My Documents\DamianData\',...
        filename,'.mat'])


