Last change
on this file since 466 was
445,
checked in by sommeria, 13 years ago
|
possibility of dealing with series of multiple images eg tiff- introduced
bugs corrected in object creation.
|
File size:
868 bytes
|
Line | |
---|
1 | % 'open_uvmat': open with uvmat the field selected in the list of 'civ/status' or 'series/check_data_files' |
---|
2 | %------------------------------------------------------------------------ |
---|
3 | %function open_uvmat(hObject, eventdata) |
---|
4 | % |
---|
5 | % INPUT: |
---|
6 | % hObject: handle of uicontrol object containing the list |
---|
7 | % eventdata: not used |
---|
8 | function open_uvmat(hObject, eventdata) |
---|
9 | %------------------------------------------------------------------------ |
---|
10 | list=get(hObject,'String'); |
---|
11 | index=get(hObject,'Value'); |
---|
12 | rootroot=get(hObject,'UserData'); |
---|
13 | filename=list{index}; |
---|
14 | ind_dot=strfind(filename,'...'); |
---|
15 | if ~isempty(ind_dot) |
---|
16 | filename=filename(1:ind_dot-1); |
---|
17 | end |
---|
18 | filename=fullfile(rootroot,filename); |
---|
19 | if exist(filename,'file')%visualise the vel field if it exists |
---|
20 | uvmat(filename) |
---|
21 | set(gcbo,'Value',1) |
---|
22 | % delete(get(hObject,'parent'))%delete the display figure to stop the check process |
---|
23 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.