How to refresh selected model block via command line? (not the Ctrl+K function)
6 ビュー (過去 30 日間)
古いコメントを表示
We can right click a Model Reference block and select Subsystem & Model Reference -> Refresh Selected Model Block.
I am wondering how to implement this action via command line.
Can you help me? Thanks.

0 件のコメント
回答 (1 件)
stozaki
2021 年 9 月 10 日
Hello,
You can update the model block by using the following function.
Simulink.ModelReference.refresh
参考
カテゴリ
Help Center および File Exchange で Event Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!