I have an image processing program that I have written that has worked fine for the last 6-8 months, and suddenly last week it stopped working. I have tracked the problem down to AVI file handling. I can no longer open them. I have tried rebooting the machine and reinstalling MATLAB. But nothing seems to work. I have ensured that I have permissions to read and write on the file as well as the directory in which the file resides. Using the following commands, I get the following errors, it happens for any filename, whether the file has been used before or not:
>> clear all>> clear mex>> test = avifile('avitest.avi')
??? Error using ==> avi Failed to open file. Error in ==> avifile.avifile at 173 aviobj.FileHandle = avi('open',filename);>> mov=aviread('Filename.avi')
??? Error using ==> aviread at 76 Unable to open file.
Best Answer