Bus Creator position by script
이전 댓글 표시
Hello,
I need to add inputs to a bus creator by scripts. Thats not a problem, but aline the bus creator then properly is not that easy, as the upper and lower end is also changing, so just adding the distance of the input blocks to the bus creator position does not work. I couldn't find out a reasonable pattern how it is changing, also for different distances of the input it seams that the ends are differently changing ... is there a pattern or an method to have a nice bus creator alignement ?
답변 (1개)
Will
2026년 7월 31일 8:08
0 개 추천
I'm also suffered from this problem, The final solution is bypassing the size of the Bus creator or selector it's self.
To add a bus creator or selector with the correct ports and size first, and then get to position of the ports, add other blocks according to the position of ports.
카테고리
도움말 센터 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!