MATLAB: MATLAB code to read status update message appearing in the web page (Internet Explorer in MATLAB GUI)

web page status update message reading from matlab gui code

Hello,
In a GUI, I have an HTML viewer in the MATLAB figure using the following command actxcontrol('Shell.Explorer.2',[5, 150, 5000, 575], gcf); I call specific web pages based on my requirements and that part is working very fine.
The user interaction with this web page produces status update message on the web page which I would like to read.How do we read only those status update messages that appears on the screen? I know the x, y position of the screen where the message appears.
Please help. Thank you
Madhu Kodappully

Best Answer

Use event handlers to the actxcontrol object. rewrite the code statement in the MATLAB command window as
h = actxcontrol('Shell.Explorer.2',[5, 150, 5000, 575], gcf);
then type h.events to know about the events associated with this object
Then register appropriate event and write a function for that event.
More details are available in the following link http://in.mathworks.com/help/matlab/matlab_external/using-events.html
Please reply if anybody has tried writing eventhandle function for the Shell.Explorer.2