Changeset 738 for trunk/src/set_object.m


Ignore:
Timestamp:
Apr 14, 2014, 11:41:21 AM (10 years ago)
Author:
sommeria
Message:

various bug resolutions and improvements in particular with geometry_calib. Introduction of a tool set_slices in uvmat.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/set_object.m

    r729 r738  
    3636function varargout = set_object(varargin)
    3737
    38 % Last Modified by GUIDE v2.5 11-Feb-2014 20:08:17
     38% Last Modified by GUIDE v2.5 13-Apr-2014 19:31:58
    3939
    4040% Begin initialization code - DO NOT REFRESH
     
    594594set(handles.num_RangeY_2,'BackgroundColor',[1 1 1])
    595595
    596 %------------------------------------------------------------------------
    597 % --- Executes on button press in MenuCoord.
    598 function MenuCoord_Callback(hObject, eventdata, handles)
    599 %------------------------------------------------------------------------
     596% --- Executes on button press in ExportCoord.
     597function ExportCoord_Callback(hObject, eventdata, handles)
     598global Coord
     599Coord=get(handles.Coord,'Data');
     600evalin('base','global Coord')%make Coord global in the workspace
     601display('object coordinates:')
     602evalin('base','Coord') %display Coord in the workspace
     603commandwindow; %brings the Matlab command window to the front
     604
    600605%----------------------------------------------------
    601606function num_RangeY_1_Callback(hObject, eventdata, handles)
     
    785790    set(handles.Coord,'Data',Coord);
    786791end
     792
     793
     794
     795
Note: See TracChangeset for help on using the changeset viewer.