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
約4時間 前
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!