Matlab GUI 控件间的数据传递

2025-02-25 20:30:20
推荐回答(1个)
回答1:

不需要在edit的callback里写,直接在button的callback里写:
N=str2num(get(handles.NN,'String')); 就可以得到输入的数值了.