フィルターのクリア

Set value in GUI2 when i push button in GUI1

2 ビュー (過去 30 日間)
Abel Romero
Abel Romero 2018 年 2 月 4 日
回答済み: Gayatri Menon 2018 年 2 月 15 日
Hello, I have two GUIs, GUI1 with a pushbutton that do some calculations and GUI2 with a uitable. I want to know how to set the values in GUI2 when i push the button in the GUI1.
I know how to pass data with setappdata and getappdata, but in this case in the second GUI i don't have a button and i want to set the value directly when I open it with the button in the GUI1.

回答 (1 件)

Gayatri Menon
Gayatri Menon 2018 年 2 月 15 日
Hi,
You can get the handle of the GUI containing uitable in your main GUI and then write the code to set the uitable value on pressing pushbutton in main GUI.The following link contains a similar example which might help you:
Hope the above helps.
Thanks

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by