Simulink custom (non rectangular) Block Shapes
34 ビュー (過去 30 日間)
古いコメントを表示
Hey everyone,
we want to make our simulink models more visually appealing and useful for presentations. Hence I want to give blocks certain shapes. Like have a subsystem being triangular (alike the gain block) to visualize its functionalities.
How do I adjust the shape of a simulink subsystem block? As there are various blocks deviating from the rectangular standard, it musst be possible. But, much to my supprise i could not find any material on it using google.
Any help is appreciated. Many thanks in advance.
1 件のコメント
sschumm
2023 年 11 月 8 日
Hi,
it is possible to create any shape by using the "Icon drawing commands" of the Mask Editor.
A triangular shape can be achieved by the commands shown below:
採用された回答
Jonas
2021 年 8 月 24 日
編集済み: Jonas
2021 年 8 月 24 日
I do not think it is possible to give subsystems an other shape than rectangular. It could conflict with the positioning of the in- and output ports.
What you can do, is use a mask image on a subsystem. Right click on a subsystem, and go to 'Mask' and then 'Add icon image...'. This way you can add your own symbols and images on the subsystem block.
4 件のコメント
その他の回答 (1 件)
Florian Rössing
2021 年 8 月 24 日
2 件のコメント
Jonas
2021 年 8 月 24 日
Yes, that's why models with grey rectangular blocks are beautiful, useful and valuable as well :-)
参考
カテゴリ
Help Center および File Exchange で Subsystems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!