Help me to display present, previous, and total of my result in gui
2 次查看(过去 30 天)
显示 更早的评论
gi everyone can you help me to display present, previous, and total of my result in gui this is the gui http://i648.photobucket.com/albums/uu201/myjonas13/myguis_zpsd52b6606.png
this is the code
function start_snap_Callback(hObject, eventdata, handles)
% hObject handle to snap_shot (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
set(handles.ss,'string','start');
set(handles.words,'string','');
set(handles.stop_snap,'enable','on');
set(handles.start_snap,'enable','off');
set(handles.set_interval,'enable','off');
set(handles.adc,'enable','off');
load('pass_val_cam.mat', 'vid');
load('pass_val_interval.mat', 'interval_val');
ntrvl = str2double(interval_val);
while strcmp(get(handles.ss,'string'),'start') == 1
wa = getsnapshot(vid);
axes(handles.snap_shot);
imshow(wa);
verybest; %image processing
set(handles.words,'String',Neggs); %neggs is the result
present result tag is : present
previous result tag is: previous
total result tag is: words
for the buttonbox i want to delete the present result and subtract the total result and tag is: delprestotal
ty for your help..
3 个评论
Image Analyst
2013-1-28
I second that. I've read this at least 5 times and I have no idea what you're trying to say. You already know how to send a string to a text control, so what's the problem?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!