Changeset 738 for trunk/src/set_object.m
- Timestamp:
- Apr 14, 2014, 11:41:21 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/set_object.m
r729 r738 36 36 function varargout = set_object(varargin) 37 37 38 % Last Modified by GUIDE v2.5 1 1-Feb-2014 20:08:1738 % Last Modified by GUIDE v2.5 13-Apr-2014 19:31:58 39 39 40 40 % Begin initialization code - DO NOT REFRESH … … 594 594 set(handles.num_RangeY_2,'BackgroundColor',[1 1 1]) 595 595 596 %------------------------------------------------------------------------ 597 % --- Executes on button press in MenuCoord. 598 function MenuCoord_Callback(hObject, eventdata, handles) 599 %------------------------------------------------------------------------ 596 % --- Executes on button press in ExportCoord. 597 function ExportCoord_Callback(hObject, eventdata, handles) 598 global Coord 599 Coord=get(handles.Coord,'Data'); 600 evalin('base','global Coord')%make Coord global in the workspace 601 display('object coordinates:') 602 evalin('base','Coord') %display Coord in the workspace 603 commandwindow; %brings the Matlab command window to the front 604 600 605 %---------------------------------------------------- 601 606 function num_RangeY_1_Callback(hObject, eventdata, handles) … … 785 790 set(handles.Coord,'Data',Coord); 786 791 end 792 793 794 795
Note: See TracChangeset
for help on using the changeset viewer.