Help me to display present, previous, and total of my result in gui
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Image Analyst
am 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?
Antworten (1)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!