Help me to display present, previous, and total of my result in gui
1 view (last 30 days)
Show older comments
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 Comments
Image Analyst
on 28 Jan 2013
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?
Answers (1)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!