How to enable block content preview in Simulink?

6 Ansichten (letzte 30 Tage)
Nathan Berger
Nathan Berger am 30 Sep. 2022
Beantwortet: Geetla Sindhu am 3 Okt. 2022
I added an icon image to a Simulink block, and when I removed it the block was completely white. The option under format to enable content preview is greyed out. Is there any way I can turn content preview back on?
Thanks in advance!

Akzeptierte Antwort

Geetla Sindhu
Geetla Sindhu am 3 Okt. 2022
Hello Nathan,
I understand that when you are adding an icon image to the Simulink block and removing it, the block content preview is disabled.
In order to resolve this issue, you can try the workaround provided below:
  • Click Mask >> Add Mask Icon in the context menu to add an image to the Simulink block. A pop-up window will be generated as shown below.
  • Set the Icon Transparency to “Transparent” and select the image you want to add using the Browse option. Click on “OK”.
  • Once this is achieved, try to clear the image using Clear option. You can see that the original content of the block is restored.
Thank you.

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Model Editing finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by