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

7 次查看(过去 30 天)
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

回答(1 个)

Yuvraj Singh
Yuvraj Singh 2023-2-22
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:

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by