How to programmatically click update button of Function Callers in AUTOSAR Component designer

1 view (last 30 days)
Hello.
How to programmatically click "Update code mappings. Initiates an update diagram" button in Function Callers in Code Mappings Component Interface?
I'm referring to the 2) Update button in the screenshot below.
Thank you.
1) Matlab example
2) Update button

Answers (1)

Yuvraj Singh
Yuvraj Singh on 22 Feb 2023
Hello,
You can obtain the handle of the UIobject by using 'findobj' and then invoke the pushbutton callback using FEVAL.
Refer to MATLAB Answer mentioned below for more details.
Refer to the below link for more information on the properties of UIcontrol objects:

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!