How to use Simulink's "Arrange" options programmatically?
조회 수: 27 (최근 30일)
이전 댓글 표시
Monika Jaskolka
2018년 11월 25일
답변: Arvind Sathyanarayanan
2018년 12월 6일
Simulink has many useful functions in the context menu for arranging blocks in a model, as shown in the image below. Is it possible to use these functions programmatically instead of via the context menu? Where can I find the API for these functions?
![Arrange Options](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196684/Arrange%20Options.png)
댓글 수: 0
채택된 답변
Arvind Sathyanarayanan
2018년 12월 6일
I am not aware of ways to align or distribute blocks programmatically but, starting Matlab 2018b you can use Simulink.BlockDiagram.arrangeSystem(system) from your MATLAB command window to automatically arrange your model.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!