System Composer Component Masks

21 vues (au cours des 30 derniers jours)
jmflorez
jmflorez le 3 Déc 2021
Commenté : Josh Kahn le 8 Mar 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 commentaire
Marcel Pozo
Marcel Pozo le 8 Fév 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

Connectez-vous pour commenter.

Réponse acceptée

Brad Williams
Brad Williams le 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 commentaire
Josh Kahn
Josh Kahn le 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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur System Composer dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by