how do i get variable entered in gui to the function

1 visualizzazione (ultimi 30 giorni)
raj kumar
raj kumar il 14 Lug 2014
Risposto: SRI il 14 Lug 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.

Risposte (1)

SRI
SRI il 14 Lug 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

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by