you can use aviread(filename) function but it only works for 8 bit frame. Details: aviread supports 8-bit frames, for indexed and grayscale images, 16-bit grayscale images, or 24-bit truecolor images. Note, however, that movie only accepts 8-bit image frames; it does not accept 16-bit grayscale image frames.
Thanks Massimo for the link. but the output data read from the avi movie file is (4-D uint8 ). Is there anyway or function to read my file to 4-D uint16 since my original movie file is a 16bit avi movie file.