Hi Shreyas, I was not able to reproduce this using a subsystem library block as you mentioned in R2017a. Which version of MATLAB are you using? Can you paste a simple model where you are observing this? Also, the LinkStatus of a block can be set to 'none' or 'inactive' for linked blocks. For inactive links, it can be set to 'none', 'restore' or 'propagate'. Please also make sure if you are using the right values for this parameter.
Restore LinkStatus - no prompt
2 次查看(过去 30 天)
显示 更早的评论
I have many linked subsystems in my model, and I am able to change their link status programmaticaly. My question is when I use set_param(subsystem_block, 'LinkStatus', 'resolved'), the library block always opens. Is there a way to suppress this? Consequently, after restoring the link status, I use save_system and close_system, but it slows my system down a bit and runtime also increases.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!