System Composer Component Masks

17 views (last 30 days)
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 Williams
Brad Williams 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.
  1 Comment
Josh Kahn
Josh Kahn on 8 Mar 2024
Thanks for the update! You are correct, System Composer now supports component masks.
More information can be found here:
https://www.mathworks.com/help/systemcomposer/ug/author-composition.html#mw_5ebff2c2-598c-4000-96c2-b76273421c12

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!