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
set_param(blockPath, 'InstantiateOnLoad', 'On');
This will refresh the block. Hope this will be helpful to someone
  2 个评论
Adrianne van Roessel
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?

请先登录,再进行评论。

更多回答(0 个)

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by