Main Content

Add Images in Masks

You can add images as icons on a Simulink mask and save them in the SLX file.

  1. Select any masked block and on the Block tab, click Add Image.

  2. In the Add mask icon image dialog box, click Browse to select an image from your local repository. You can also set the transparency using the Icon transparency field. Available options are: Opaque, Transparent, and Opaque with ports.

    add images in mask

  3. Select the Store a copy of the image in the SLX file check box if you want to store the mask image in the SLX file.

  4. Click OK to save your changes.

Store Mask Images Programmatically

  • Convert mask image to internal for one block

  • Convert mask image to internal for the whole model

  • Convert mask image to external for one block


Related Topics