how do i get variable entered in gui to the function

1 Ansicht (letzte 30 Tage)
raj kumar
raj kumar am 14 Jul. 2014
Beantwortet: SRI am 14 Jul. 2014
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.

Antworten (1)

SRI
SRI am 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

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by