How to refresh library blocks programmatically?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'd like to run in a script the equivalent of control+K
Thanks
0 Kommentare
Akzeptierte Antwort
TAB
am 7 Jun. 2012
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 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!