how to access to a funktion of a component from another component app designer?

Hi everyone!
is there any possibility to access to funktion-callback of a component from another one?
I want to make callback-button to run anthor callback-button?
i use matlab r2018a

3 件のコメント

Geoff Hayes
Geoff Hayes 2019 年 6 月 13 日
joe - please clarify why you want or need to do this. Are both components in the same GUI? Could you not just have a "helper" function that is called by both callbacks (rather than re-directing to another function callback)?
joe
joe 2019 年 6 月 14 日
編集済み: joe 2019 年 6 月 14 日
Hi Geoff Hayes,
I have two buttons. the first button_1, which does special calculation and button_2 does other task, but in some case the button_2 should do the same calculation of button_1.
what I want exactly, how to click on the button_1 from button_2 (make button_2 run button_1)
the both buttons are in the same GUI
Is there any way somehow to do that in app desinger ?
joe
joe 2019 年 6 月 14 日
thank you Geoff Hayes. the "helper function" is the effecient solution for me

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

質問済み:

joe
2019 年 6 月 13 日

コメント済み:

joe
2019 年 6 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by