How to enable block content preview in Simulink?

6 次查看(过去 30 天)
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!

采纳的回答

Geetla Sindhu
Geetla Sindhu 2022-10-3
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Model Editing 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by