Ignore:
Timestamp:
Apr 29, 2013, 11:27:46 PM (11 years ago)
Author:
sommeria
Message:

waitbar system for series improved to aloow use as stand alone fcts.

to add at the head of series fcts:
hseries=findobj(allchild(0),'Tag','series');
RUNHandle=findobj(hseries,'Tag','RUN');%handle of RUN button in GUI series
WaitbarHandle?=findobj(hseries,'Tag','Waitbar');%handle of waitbar in GUI series

call to waitbar:

update_waitbar(WaitbarHandle?,index/nbfield)
if ishandle(RUNHandle) && ~strcmp(get(RUNHandle,'BusyAction?'),'queue')

disp('program stopped by user')
break

end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/displ_uvmat.m

    r530 r623  
    55function displ_uvmat(title,display_str,Position)
    66if isequal(Position,0)
    7     display([title ': ' display_str])
     7    disp([title ': ' display_str])
    88else
    99    msgbox_uvmat(title,display_str,'',Position)
Note: See TracChangeset for help on using the changeset viewer.