Changeset 694 for trunk/src/series.m
- Timestamp:
- Nov 4, 2013, 9:34:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r682 r694 2590 2590 % ff=functions(list_transform{end}); 2591 2591 if isequal(TransformName,'more...'); 2592 % coord_fct=''; 2593 % prompt = {'Enter the name of the transform function'}; 2594 % dlg_title = 'user defined transform'; 2595 % num_lines= 1; 2596 [FileName, PathName] = uigetfile( ... 2597 {'*.m', ' (*.m)'; 2598 '*.m', '.m files '; ... 2599 '*.*', 'All Files (*.*)'}, ... 2600 'Pick a transform function',get(handles.TransformPath,'String')); 2601 if isequal(FileName,0) 2592 % [FileName, PathName] = uigetfile( ... 2593 % {'*.m', ' (*.m)'; 2594 % '*.m', '.m files '; ... 2595 % '*.*', 'All Files (*.*)'}, ... 2596 % 'Pick a transform function',get(handles.TransformPath,'String')); 2597 2598 FileName=uigetfile_uvmat('Pick a transform function',get(handles.TransformPath,'String'),'.m'); 2599 if isempty(FileName) 2602 2600 return %browser closed without choice 2603 2601 end 2604 if isequal(PathName(end),'/')||isequal(PathName(end),'\')2605 PathName(end)=[];2606 end2602 % if isequal(PathName(end),'/')||isequal(PathName(end),'\') 2603 % PathName(end)=[]; 2604 % end 2607 2605 [TransformPath,TransformName,TransformExt]=fileparts(FileName);% removes extension .m 2608 2606 if ~strcmp(TransformExt,'.m') … … 2626 2624 TransformPathListUser{ilist-nb_builtin_transform}=TransformPathList{ilist}; 2627 2625 end 2626 TransformPathListUser=TransformPathListUser'; 2627 TransformListUser=TransformListUser'; 2628 2628 save (profil_perso,'TransformPathListUser','TransformListUser','-append'); %store the root name for future opening of uvmat 2629 2629 end
Note: See TracChangeset
for help on using the changeset viewer.