From: Zulkifli on
Hi all,

I been follow an example from the Matlab website.
the link as follows,

http://www.mathworks.com/products/imaq/demos.html?file=/products/demos/shipping/imaq/demoimaq_DiskLog.html#7

the problem is then when i run the code, the error stated as below

[ {memory} | disk | disk&memory ]
Warning: Cannot locate Indeo5 compressor, using 'None' as the compression
type.
See Mathworks Technical Solution 1-4G50RI for more information.
??? Error using ==> avi
Failed to open file.

Error in ==> avifile.avifile at 173
aviobj.FileHandle = avi('open',filename);

Error in ==> testgui>pushbutton3_Callback at 152
logfile=avifile('logfile.avi');

Error in ==> gui_mainfcn at 96
feval(varargin{:});

Error in ==> testgui at 42
gui_mainfcn(gui_State, varargin{:});

Error in ==>
@(hObject,eventdata)testgui('pushbutton3_Callback',hObject,eventdata,guidata(hObject))


??? Error while evaluating uicontrol Callback


What did i do wrong.
I'm using the latest matlab version 7.8.0.347. Pleas advise what i did wrong. Thanks