Changeset 606 for trunk/src/uvmat.m
- Timestamp:
- Apr 7, 2013, 10:14:45 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r601 r606 341 341 oldfile=get(handles.RootPath,'UserData'); 342 342 end 343 [FileName, PathName] = uigetfile({'*.*','All Files(*.*)'},'Pick a file',oldfile); 344 if ~ischar(FileName),return,end %abandon if the browser is cancelled 345 fileinput=[PathName FileName];%complete file name 343 hfig=uigetfile_uvmat('file browser',fileparts(oldfile)); 344 uiwait(hfig); 345 if ishandle(hfig) % stop if browser closed without selection 346 fileinput=get(hfig,'UserData');% retrieve the input file selection 347 delete(hfig) 348 % display the selected field and related information 349 display_file_name(handles,fileinput) 350 end 351 352 % 353 % 354 % 355 % [FileName, PathName] = uigetfile({'*.*','All Files(*.*)'},'Pick a file',oldfile); 356 % if ~ischar(FileName),return,end %abandon if the browser is cancelled 357 % fileinput=[PathName FileName];%complete file name 346 358 347 359 %% display the selected field and related information 348 display_file_name( handles,fileinput)360 % display_file_name( handles,fileinput) 349 361 350 362 % ----------------------------------------------------------------------- … … 2673 2685 for imap=1:numel(IndexObj) 2674 2686 iobj=IndexObj(imap); 2687 if numel(UvData.Object)<iobj 2688 break 2689 end 2675 2690 [ObjectData,errormsg]=proj_field(UvData.Field,UvData.Object{iobj});% project field on the object 2676 2691 if ~isempty(errormsg)
Note: See TracChangeset
for help on using the changeset viewer.