Simulink custom (non rectangular) Block Shapes
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Florian Rössing
el 24 de Ag. de 2021
Comentada: sschumm
el 8 de Nov. de 2023
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 comentario
sschumm
el 8 de Nov. de 2023
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:
Respuesta aceptada
Jonas
el 24 de Ag. de 2021
Editada: Jonas
el 24 de Ag. de 2021
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 comentarios
Más respuestas (1)
Florian Rössing
el 24 de Ag. de 2021
2 comentarios
Jonas
el 24 de Ag. de 2021
Yes, that's why models with grey rectangular blocks are beautiful, useful and valuable as well :-)
Ver también
Categorías
Más información sobre Interactive Model Editing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!