how do i get variable entered in gui to the function

2 views (last 30 days)
i have created a gui. i need to enter a number in edit text.i need to get the value of this variable into the gui function.

Answers (1)

SRI
SRI on 14 Jul 2014
Hi Raj
Kindly look into the code to get the data into the GUI and to save that data in the database
studNmae = get(handles.nameEdit,'string');
studNumber = get(handles.numberEdit,'string');
save data.mat studNmae studNumber

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!