How to refresh library blocks programmatically?

 採用された回答

TAB
TAB 2012 年 6 月 7 日

1 投票

AFAIK, there no specific command for Ctrk+K (Referesh model block). But, library block can also be refreshed using update diagram (ctrl+D). Update diagram can be issued using command
>> set_param('YourModel','SimulationCommand','update');
Just for information, in newer version of simulink, library block and model reference block refreshes automatically. See this blog.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeModeling についてさらに検索

製品

タグ

質問済み:

2012 年 5 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by