guiの変数受け渡しについて
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
2つのguiがあります。
test1.fig
test2.fig
test1.figのプッシュボタンを押すと以下の変数が生成されます。
TEST='TEST1'
この変数をtest2.figのedit1に表示させるのはどうすればいいですか?
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
close(gcf)
TEST = 'TEST1';
%ここでtest2.fugのedit1にTESTを表示させる。
宜しくお願いします。
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Control System Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!