Changeset 1174 for trunk/src/geometry_calib.m
- Timestamp:
- Feb 25, 2025, 7:06:03 PM (2 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/geometry_calib.m
r1173 r1174 1442 1442 function Copy_Callback(hObject, eventdata, handles) 1443 1443 global Coord 1444 evalin('base','global Coord')%make CurData global in the workspace 1445 Coord=get(handles.ListCoord,'Data'); 1446 display('coordinates of calibration points (phys,px,marker) :') 1447 evalin('base','Coord') %display CurData in the workspace 1448 commandwindow; %brings the Matlab command window to the front 1444 if isequal (get(handles.Copy,'BackGroundColor'),[0 1 0]) 1445 evalin('base','global Coord')%make CurData global in the workspace 1446 Coord=get(handles.ListCoord,'Data'); 1447 display('coordinates of calibration points (phys,px,marker) :') 1448 evalin('base','Coord') %display CurData in the workspace 1449 commandwindow; %brings the Matlab command window to the front 1450 set(handles.Copy,'BackGroundColor',[1 1 0]) 1451 set(handles.Copy,'String','IMPORT PTS') 1452 else 1453 set(handles.ListCoord,'Data',Coord) 1454 set(handles.Copy,'String','EXPORT PTS') 1455 set(handles.Copy,'BackGroundColor',[0 1 0]) 1456 end 1449 1457 1450 1458 %------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.