Changeset 934 for trunk/src/uvmat.m
- Timestamp:
- Mar 25, 2016, 8:38:32 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r931 r934 488 488 % ----------------------------------------------------------------------- 489 489 function MenuBrowseCampaign_Callback(hObject, eventdata, handles) 490 set(handles.MenuOpenCampaign,'ForegroundColor',[1 1 0])491 drawnow490 % set(handles.MenuOpenCampaign,'ForegroundColor',[1 1 0]) 491 % drawnow 492 492 [RootPath,SubDir,RootFile,FileIndices,FileExt]=read_file_boxes(handles); 493 493 DataSeries=fullfile(RootPath,SubDir); 494 494 if isempty(DataSeries) %loads the previously stored file name and set it as default in the file_input box 495 495 DataSeries=get(handles.RootPath,'UserData'); 496 end497 % RootPath=get(handles.RootPath,'String');498 % if isempty(RootPath)499 % RootPath=get(handles.RootPath,'UserData');%use Rootpath recored from the personal file at uvmat opening500 % end501 % CampaignPath=fileparts(fileparts(RootPath));502 % DirFull=uigetfile_uvmat('define this path as the Campaign folder:',CampaignPath,'uigetdir');503 % %DirFull = uigetdir(CampaignPath,'Select a Campaign dir, then press OK');504 % if isempty(DirFull)505 % return506 % end507 if isempty(DataSeries)||~ischar(DataSeries)508 DataSeries=pwd;509 496 end 510 497 OutPut=browse_data(DataSeries,'on');% open the GUI browse_data to get select a campaign dir, experiment and device
Note: See TracChangeset
for help on using the changeset viewer.