필터 지우기
필터 지우기

How to refresh library blocks programmatically?

조회 수: 22 (최근 30일)
olivier
olivier 2012년 5월 30일
I'd like to run in a script the equivalent of control+K
Thanks

채택된 답변

TAB
TAB 2012년 6월 7일
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개)

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by