how to store resultant values of edit text and pushbutton of a GUI in a database?

1 view (last 30 days)
I have created a GUI which accepts name, id and input fingerprint image. edittext1 contains string which is saved as follows,
y = get(hObject,'string');
handles.edit1 = y;
guidata(hObject,handles)
edittext2 accepts id number, which is as follows
x = str2num(get(hObject,handles));
handles.edit1 = x;
guidata(hObject,handles)
a push button which extracts features of fingerprint image generates a binary string is as follows,
imshow(I) %I contains the extracted image%
B=im2bw(I); %B is the binary matrix of the image.
display(B);
Now, i need to store these 3 values in a database using another callback function to access these parameters and write an sql query to store them. I dont know if this is right way to proceed.. can someone please help me in writing code for accessing them and storing them ?

Answers (0)

Community Treasure Hunt

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

Start Hunting!