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

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

Antworten (1)

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:

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022b

Gefragt:

am 3 Nov. 2022

Beantwortet:

am 22 Feb. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by