DAStudio.Informer callback

4 ビュー (過去 30 日間)
Kang SeungHeon
Kang SeungHeon 2020 年 10 月 22 日
回答済み: Vidip 2024 年 11 月 29 日
I want a function to run when I click on a Simulink block. It is said that DAStudio.Informer displays information or executes a callback when a simulink block is clicked. I would like to know how to register a callback function.

回答 (1 件)

Vidip
Vidip 2024 年 11 月 29 日
I understand that you want to execute a function when a Simulink block is clicked, and this can be done by setting the "OpenFcn" callback property of the block. This setup will trigger your specified function whenever the block is double-clicked, allowing you to integrate custom actions into your Simulink model.
Please refer to the following documentation link for more inofrmation: https://in.mathworks.com/help/simulink/ug/block-callbacks.html

カテゴリ

Help Center および File ExchangeModel, Block, and Port Callbacks についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by