Close Audio/Video Interleaved (AVI) file
Note: avifile has been removed. Use VideoWriter instead.
aviobj = close(aviobj) finishes writing and closes the AVI file associated with aviobj, which is an AVI file object created using the avifile function.
To close all open AVI files, use the clear mex command.