System Composer Component Masks

7 vues (au cours des 30 derniers jours)
jmflorez
jmflorez le 3 Déc 2021
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
Brad 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.
  2 commentaires
Josh Kahn
Josh Kahn le 8 Mar 2024
Modifié(e) : Josh Kahn le 23 Mai 2024
Thanks for the update! You are correct, System Composer now supports component masks.
More information can be found here:
Flavio Luiz Puhl Jr
Flavio Luiz Puhl Jr le 4 Sep 2024
Does "Add Image to Block" works only for Component or Variant Component block? It is not working for Reference block.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by