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 Comments

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)?
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 ?
thank you Geoff Hayes. the "helper function" is the effecient solution for me

Sign in to comment.

Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Asked:

joe
on 13 Jun 2019

Commented:

joe
on 14 Jun 2019

Community Treasure Hunt

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

Start Hunting!