[avi_hdl, avi_inf] = dxAviOpen(<avi_filename>);
pixmap = dxAviReadMex(avi_hdl, <frame_num>);
img = reshape(pixmap,[avi_inf.Height,avi_inf.Width,3]);
dxAviCloseMex(avi_hdl);
C:\WINDOWS\system32\regsvr32.exe System32\qedit.dllOn 64bit systems use:
C:\WINDOWS\system32\regsvr32.exe SYSWOW64\qedit.dll