Simulink.BlockDiagram.arrangeSystem does not work inside library
이전 댓글 표시
Hello,
I'm using the command:
Simulink.BlockDiagram.arrangeSystem(gcb,FullLayout='true');
to sort and rearrange the blocks inside a masked subsystem. This worked fine until I converted this subsystem into a library block.
Now this command does nothing and the internal structure remains cluttered and unreadabel. Because this blocks heavily modifies itself, I can't establish a pleasant alignment beforehand.
Is there any way to get this working?
댓글 수: 4
Fangjun Jiang
2022년 11월 30일
Is the library block un-locked?
Manuel K
2022년 11월 30일
Fangjun Jiang
2022년 11월 30일
Sorry, to be acurate, for the library block, I shall refer it as "is the LinkStatus inactive".
Manuel K
2022년 11월 30일
답변 (1개)
Fangjun Jiang
2022년 11월 30일
0 개 추천
I've tried it. You need to disable the library link first.
set_param(gcb,'LinkStatus','inactive')
Simulink.BlockDiagram.arrangeSystem(gcb,FullLayout='true')
댓글 수: 2
Manuel K
2022년 12월 1일
카테고리
도움말 센터 및 File Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!