Changeset 934 for trunk/src/uvmat.m


Ignore:
Timestamp:
Mar 25, 2016, 8:38:32 PM (8 years ago)
Author:
sommeria
Message:

browse data corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r931 r934  
    488488% -----------------------------------------------------------------------
    489489function MenuBrowseCampaign_Callback(hObject, eventdata, handles)
    490 set(handles.MenuOpenCampaign,'ForegroundColor',[1 1 0])
    491 drawnow
     490% set(handles.MenuOpenCampaign,'ForegroundColor',[1 1 0])
     491% drawnow
    492492[RootPath,SubDir,RootFile,FileIndices,FileExt]=read_file_boxes(handles);
    493493DataSeries=fullfile(RootPath,SubDir);
    494494if isempty(DataSeries) %loads the previously stored file name and set it as default in the file_input box
    495495    DataSeries=get(handles.RootPath,'UserData');
    496 end
    497 % RootPath=get(handles.RootPath,'String');
    498 % if isempty(RootPath)
    499 %     RootPath=get(handles.RootPath,'UserData');%use Rootpath recored from the personal file at uvmat opening
    500 % end
    501 % 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 %     return
    506 % end
    507 if isempty(DataSeries)||~ischar(DataSeries)
    508     DataSeries=pwd;
    509496end
    510497OutPut=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.