How to call the refresh custom code in c caller block from command line?

1 回表示 (過去 30 日間)
Hello all,
i would like to know is there any way to call the refresh custom code in c caller block from command line?
Thanks,
V.Ajay Krishna

採用された回答

Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2021 年 1 月 6 日
set_param(blockPath, 'InstantiateOnLoad', 'On');
This will refresh the block. Hope this will be helpful to someone
  2 件のコメント
Adrianne van Roessel
Adrianne van Roessel 2021 年 3 月 18 日
Does this still work for you? I am also looking for a way to refresh the block from the command line but for me this doesn't work. The blockPath is the complete path including the name of the C Caller block right?
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2021 年 3 月 26 日
Yes. We need to give the full block path.@Adrianne van Roessel

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by