How to refresh library blocks programmatically?

 Akzeptierte Antwort

TAB
TAB am 7 Jun. 2012

1 Stimme

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.

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Gefragt:

am 30 Mai 2012

Community Treasure Hunt

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

Start Hunting!

Translated by