How to refresh library blocks programmatically?
4 次查看(过去 30 天)
显示 更早的评论
I'd like to run in a script the equivalent of control+K
Thanks
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!