System Composer Component Masks

13 次查看(过去 30 天)
In order to best use Architecture Model for documentation I need to customize the look of the components in System Composer.
I would like to add a mask to the components so I can show an image/icon like we do in Simulink.
Today there is only the content preview option and the stereotype option that can add a small (16px x 16px) icon on the corner.
None of these solutions is what I need.
Can we add a mask to a component or do you know of a preload function (as a callback) that can add an image to the block?
  1 个评论
Marcel Pozo
Marcel Pozo 2022-2-8
Also looking for an answer to this... seems like there is no way to put a custom picture (mask) on a component element on Systems Composer

请先登录,再进行评论。

采纳的回答

Brad
Brad 2024-3-8
System composer doesn't use masks the same way, but you can add an overlay image. I'm using 2023b and if you go to the Format toolbar while in your architecture, there is an "Add Image to Block" option.
  2 个评论
Josh Kahn
Josh Kahn 2024-3-8
编辑:Josh Kahn 2024-5-23
Thanks for the update! You are correct, System Composer now supports component masks.
More information can be found here:
Flávio Luiz
Flávio Luiz 2024-9-4
Does "Add Image to Block" works only for Component or Variant Component block? It is not working for Reference block.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 System Composer 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by