Changeset 727
- Timestamp:
- Mar 1, 2014, 5:12:13 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r720 r727 2605 2605 TransformPathList=get(handles.TransformName,'UserData'); 2606 2606 nb_builtin_transform=4; 2607 % ff=functions(list_transform{end}); 2608 if isequal(TransformName,'more...'); 2609 % [FileName, PathName] = uigetfile( ... 2610 % {'*.m', ' (*.m)'; 2611 % '*.m', '.m files '; ... 2612 % '*.*', 'All Files (*.*)'}, ... 2613 % 'Pick a transform function',get(handles.TransformPath,'String')); 2614 2607 if isequal(TransformName,'more...'); 2615 2608 FileName=uigetfile_uvmat('Pick a transform function',get(handles.TransformPath,'String'),'.m'); 2616 2609 if isempty(FileName) 2617 2610 return %browser closed without choice 2618 2611 end 2619 % if isequal(PathName(end),'/')||isequal(PathName(end),'\')2620 % PathName(end)=[];2621 % end2622 2612 [TransformPath,TransformName,TransformExt]=fileparts(FileName);% removes extension .m 2623 2613 if ~strcmp(TransformExt,'.m') … … 2632 2622 set(handles.TransformName,'String',TransformList) 2633 2623 TransformPathList=[TransformPathList;{TransformPath}]; 2624 else% the input function already exist, we update its path (possibly new) 2625 TransformPathList{TransformIndex}=TransformPath;% 2626 set(handles.TransformName,'Value',TransformIndex) 2634 2627 end 2635 2628 % save the new menu in the personal file 'uvmat_perso.mat'
Note: See TracChangeset
for help on using the changeset viewer.