Restore LinkStatus - no prompt
2 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Siddharth Jawahar
on 24 Jul 2017
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.
0 Comments
See Also
Categories
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!