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개)
Siddharth Jawahar
2017년 7월 24일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Subsystems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!