How to refresh library blocks programmatically?

 Risposta accettata

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.

Più risposte (0)

Categorie

Scopri di più su Modeling in Centro assistenza e File Exchange

Prodotti

Tag

Richiesto:

il 30 Mag 2012

Community Treasure Hunt

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

Start Hunting!

Translated by