Why does AVI logging not work for the Image Acqusition Toolbox 1.0 (R13.0.1+)?

3 views (last 30 days)
I am trying to use AVI file logging with the following code:
file = avifile('D:\imaq.avi');
obj = videoinput('winvideo');
obj.LoggingMode = 'disk';
obj.DiskLogger = file;
start(obj)
But when I do, I receive the error:
??? MATLAB AVI.DLL is invalid. The Image Acquisition Toolbox may need to be reinstalled.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This error message occurs when MATLAB 6.5 (R13.0.1) has been reinstalled, but the Image Acquisition Toolbox 1.0 (R13.0.1+) has not. The Image Acqusition Toolbox 1.0 (R13.0.1+) ships a modified avi.dll file that enables its AVI file logging capabilities. If MATLAB is reinstalled without reinstalling the toolbox, the avi.dll version that the toolbox requires is no longer available. In order to prevent this error, reinstall the Image Acquisition Toolbox 1.0 (R13.0.1+).

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!