I create MATLAB GUI. And I want to pay user's attention at some moment. For this I want to flash application icon in windows taskbar.
I tried to find solution but all I get is how to change Icon, but how to make it flash rapidly (like some window applications. For example if you install something and make active another window first one starts flashing when complete installation)?
function myProgram_OpeningFcn(hObject, eventdata, handles, varargin)
handles.output = hObject;
jframe=get(handles.figure1,'javaframe');
jIcon=javax.swing.ImageIcon('myicon.png');
jframe.setFigureIcon(jIcon);