Changeset 664 for trunk/src/series.m
- Timestamp:
- Jul 11, 2013, 11:56:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r654 r664 2563 2563 2564 2564 InputTable=get(handles.InputTable,'Data'); 2565 [FileName, PathName] = uigetfile( ... 2566 {'*.xml', ' (*.xml)'; 2567 '*.xml', '.xml files '; ... 2568 '*.*', 'All Files (*.*)'}, ... 2569 'Pick a file',InputTable{1,1}); 2570 filexml=[PathName FileName];%complete file name 2571 if isempty(filexml),return;end %abandon if no file is introduced by the browser 2572 Param=xml2struct(filexml); 2573 fill_GUI(Param,handles.series) 2565 filexml=uigetfile_uvmat('pick a xml parameter file',InputTable{1,1},'.xml'); 2566 % [FileName, PathName] = uigetfile( ... 2567 % {'*.xml', ' (*.xml)'; 2568 % '*.xml', '.xml files '; ... 2569 % '*.*', 'All Files (*.*)'}, ... 2570 % 'Pick a file',InputTable{1,1}); 2571 % filexml=[PathName FileName];%complete file name 2572 if ~isempty(filexml)%abandon if no file is introduced by the browser 2573 Param=xml2struct(filexml); 2574 fill_GUI(Param,handles.series) 2575 if isfield(Param,'ActionInput') 2576 set(handles.ActionInput,'Visible','on') 2577 set(handles.ActionInput_title,'Visible','on') 2578 set(handles.ActionInputView,'Visible','on') 2579 set(handles.ActionInputView,'Value',0) 2580 %set(handles.ActionInput,'String',ActionName) 2581 % ParamOut.ActionInput.Program=ActionName; % record the program in ActionInput 2582 SeriesData=get(handles.series,'UserData'); 2583 SeriesData.ActionInput=Param.ActionInput; 2584 set(handles.series,'UserData',SeriesData) 2585 end 2586 ActionName_Callback([],[],handles) 2587 end 2574 2588 2575 2589 %------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.