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!