Help me to display present, previous, and total of my result in gui

6 次查看(过去 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
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?
john john
john john 2013-1-28
my head was getting dumb haha.. well my problem only present result are just presented.. =(
how do i implement that ?

请先登录,再进行评论。

回答(1 个)

john john
john john 2013-1-28
my head was getting dumb haha.. well my problem only present result are just presented.. =(
how do i implement that ?

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by