I created a function which opens an AVI-file using the following command:
mov = avifile('example.avi')
If for some reason the function terminates without closing the AVI-file as shown below, I would still like to be able to close the file.
mov = close(mov);
Best Answer