System Composer Component Masks

12 views (last 30 days)
jmflorez
jmflorez on 3 Dec 2021
Commented: Flávio Luiz on 4 Sep 2024
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 Comment
Marcel Pozo
Marcel Pozo on 8 Feb 2022
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

Sign in to comment.

Accepted Answer

Brad
Brad on 8 Mar 2024
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 Comments
Josh Kahn
Josh Kahn on 8 Mar 2024
Edited: Josh Kahn on 23 May 2024
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 on 4 Sep 2024
Does "Add Image to Block" works only for Component or Variant Component block? It is not working for Reference block.

Sign in to comment.

More Answers (0)

Categories

Find more on System Composer in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!