Call a gui callback without handles

2 ビュー (過去 30 日間)
Vick
Vick 2017 年 11 月 17 日
コメント済み: Vick 2017 年 11 月 17 日
Hello all, I'm using Tab Manager for my uipanel management. The problem here is when i change my tabs the callback doesn't have handles in its function--> tabChangedCB(src, eventdata), So here i can't call a gui callback without a handles from within this function. I want to do some calculation when this tab is changed.
Is there any possibility to simulate a button press in the gui, such that it will be called from gui not as a function?
ThankYou.

採用された回答

Rik
Rik 2017 年 11 月 17 日
You can still use guidata normally. The source (to which a handle is saved in scr) can still be used to follow the chain of parents up to the figure.
handles=guidata(src);%this should get the handles for you
  1 件のコメント
Vick
Vick 2017 年 11 月 17 日
Hey thank you...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by