MATLAB Answers

Simulink custom (non rectangular) Block Shapes

조회 수: 2(최근 30일)
Florian Rössing
Florian Rössing 2021년 8월 24일
댓글: Fangjun Jiang 2021년 8월 24일
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.

답변(2개)

Jonas
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
Fangjun Jiang
Fangjun Jiang 2021년 8월 24일
Click "Help" button on "Icon and Ports" tab.

댓글을 달려면 로그인하십시오.


Florian Rössing
Florian Rössing 2021년 8월 24일
All models are beautiful, useful and valuable regardless of origin shape or color, I demand freedom of choice! ;)
  댓글 수: 2
Florian Rössing
Florian Rössing 2021년 8월 24일
Doesnt explain why I am limited to them ;) Regardless, I am for now working with your image approach until someone finds another way. Or the Matlab staff tells me it is not possible (and why so)

댓글을 달려면 로그인하십시오.

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by