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 Exchange에서 Modeling에 대해 자세히 알아보기

제품

태그

질문:

2012년 5월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by