how do i get variable entered in gui to the function

2 次查看(过去 30 天)
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.

回答(1 个)

SRI
SRI 2014-7-14
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

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by