How to enable block content preview in Simulink?

11 visualizaciones (últimos 30 días)
Nathan Berger
Nathan Berger el 30 de Sept. de 2022
Respondida: Geetla Sindhu el 3 de Oct. de 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!

Respuesta aceptada

Geetla Sindhu
Geetla Sindhu el 3 de Oct. de 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.

Más respuestas (0)

Categorías

Más información sobre Interactive Model Editing en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by