Run a MATLAB function when Simulink button is pressed

1 回表示 (過去 30 日間)
Jacob Thomas
Jacob Thomas 2023 年 11 月 14 日
コメント済み: Jacob Thomas 2023 年 11 月 22 日
Hi all,
I'm curious to know whether ther is any possibility lies to run a custom fucntion when I click on the RUN button in model advisor. How can I possibly triger the function when the check is intiated.? any suggestions or idea on this.

回答 (1 件)

prabhat kumar sharma
prabhat kumar sharma 2023 年 11 月 20 日
Hello Jacob,
I understand you want to know how to execute a custom function when clicking the "Run Checks" button in the Model Advisor.
Yes, you can create your own custom check that will be triggered upon clicking the 'Run Checks' button.
You can refer to the following links for more detailed instructions on creating custom checks:
I hope it helps!
  1 件のコメント
Jacob Thomas
Jacob Thomas 2023 年 11 月 22 日
Hi Prabhat,
Many thanks for your response. Making the custom checks seems to be possibly working for me as needed. But I would like to know whether there is any possibility to run a function that is not defined in the sl_customization or as a check.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeModel Compatibility についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by