This enhancement has been incorporated in Release 2010a (R2010a). For previous product releases, read below for any possible workarounds:
AVIREAD and AVIINFO are being deprecated, and users should now use the functions MMREADER and MMFILEINFO.
MMREADER creates a filereader object, and frames from the object may be accessed using MMREADER/READ method. MMFILEINFO returns an information about the multimedia file.
MMFILEINFO has a very similar syntax to AVIINFO.
info = mmfileinfo('example.avi')
When using MMREADER, an mmreader object is created an the data is accessed via MMREADER methods.
obj = mmreader('example.avi')
get(obj)
obj.read(1)
read(mmreader('example.avi'),1)
Best Answer