How to refresh selected model block via command line? (not the Ctrl+K function)

3 ビュー (過去 30 日間)
Kepler
Kepler 2021 年 9 月 10 日
コメント済み: Kepler 2021 年 9 月 17 日
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.

回答 (1 件)

stozaki
stozaki 2021 年 9 月 10 日
Hello,
You can update the model block by using the following function.
Simulink.ModelReference.refresh
  1 件のコメント
Kepler
Kepler 2021 年 9 月 17 日
Thank you. But this function is provided since MALTAB 2020a, while mine is MALTAB 2016b..

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

カテゴリ

Help Center および File ExchangeComponent-Based Modeling についてさらに検索

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by