Changeset 178 for trunk/src/civ.m
- Timestamp:
- Jan 7, 2011, 6:28:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ.m
r177 r178 783 783 set(handles.BATCH,'Enable','On') 784 784 set(handles.BATCH,'BackgroundColor',[1 0 0]) 785 if isfield(handles,'status') 785 786 set(handles.status,'Value',0);%suppress status display 786 787 status_Callback(hObject, eventdata, handles) 788 end 787 789 788 790 %% store the root input filename for future opening … … 1563 1565 1564 1566 % start status callback to visualise results 1567 if isfield(handles,'status') 1565 1568 set(handles.status,'Value',1);%suppress status display 1566 1569 status_Callback(hObject, eventdata, handles) 1570 end 1567 1571 1568 1572 %------------------------------------------------------------------------ … … 1578 1582 1579 1583 % start status callback to visualise results 1584 if isfield(handles,'status') 1580 1585 set(handles.status,'Value',1);%suppress status display 1581 1586 status_Callback(hObject, eventdata, handles) 1587 end 1582 1588 %------------------------------------------------------------------------ 1583 1589 % --- Lauch command called by RUN and BATCH: remote processing … … 1633 1639 1634 1640 %% reinitialise status callback 1641 if isfield(handles,'status') 1635 1642 set(handles.status,'Value',0);%suppress status display 1636 1643 status_Callback(hObject, eventdata, handles) 1644 end 1637 1645 1638 1646 %% set the list of files and check them … … 4715 4723 ind_dot=findstr(filename,'...'); 4716 4724 filename=filename(1:ind_dot-1); 4717 filename=fullfile(rootroot,filename) ;4725 filename=fullfile(rootroot,filename) 4718 4726 if exist(filename,'file')%visualise the vel field if it exists 4719 [Field,VelTypeOut]=read_civxdata(filename); 4720 view_field(Field) 4727 %[Field,VelTypeOut]=read_civxdata(filename); 4728 %view_field(Field) 4729 uvmat(filename) 4730 set(gcbo,'Value',1) 4721 4731 end 4722 4732
Note: See TracChangeset
for help on using the changeset viewer.