Changeset 827
- Timestamp:
- Nov 30, 2014, 10:00:36 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/browse_data.m
r809 r827 47 47 %------------------------------------------------------------------------ 48 48 % --- Executes just before browse_data is made visible. 49 function browse_data_OpeningFcn(hObject, eventdata, handles, Campaign )49 function browse_data_OpeningFcn(hObject, eventdata, handles, Campaign,EnableMirror) 50 50 %------------------------------------------------------------------------ 51 51 … … 103 103 % UIWAIT makes GUI wait for user response (see UIRESUME) 104 104 uiwait(handles.browse_data); 105 end 106 if exist('EnableMirror','var') && strcmp(EnableMirror,'on') 107 set(handles.CreateMirror,'Visible','on') 105 108 end 106 109 -
trunk/src/geometry_calib.m
r809 r827 239 239 InputDir=fileparts(fileparts(CalibData.XmlInputFile)); 240 240 end 241 answer=msgbox_uvmat('INPUT_TXT','Campaign to calibrate?',InputDir); 242 if strcmp(answer,'Cancel') 243 return 244 end 245 OutPut=browse_data(answer); 241 SubProject=uigetfile_uvmat('open folder of subproject to calibrate',InputDir,'uigetdir'); 242 % answer=msgbox_uvmat('INPUT_TXT','Campaign to calibrate?',InputDir); 243 % if strcmp(answer,'Cancel') 244 % return 245 % end 246 OutPut=browse_data(SubProject); 246 247 nbcalib=0; 247 248 for ilist=1:numel(OutPut.Experiment) -
trunk/src/uvmat.m
r818 r827 497 497 return 498 498 end 499 OutPut=browse_data(DirFull );% open the GUI browse_data to get select a campaign dir, experiment and device499 OutPut=browse_data(DirFull,'on');% open the GUI browse_data to get select a campaign dir, experiment and device 500 500 if ~isfield(OutPut,'Campaign') 501 501 return … … 539 539 540 540 set(handles.MenuOpenCampaign,'ForegroundColor',[1 1 0]) 541 OutPut=browse_data(get(hObject,'Label') );% open the GUI browse_data to get select a campaign dir, experiment and device541 OutPut=browse_data(get(hObject,'Label'),'on');% open the GUI browse_data to get select a campaign dir, experiment and device 542 542 if isfield(OutPut,'Campaign') 543 543 fileinput=uigetfile_uvmat('pick an input file',fullfile(OutPut.Campaign,OutPut.Experiment{1},OutPut.DataSeries{1}));
Note: See TracChangeset
for help on using the changeset viewer.