Image on subsystem mask

4 views (last 30 days)
steffw
steffw on 22 Oct 2020
Commented: steffw on 27 Oct 2020
Hello,
i would like to display an image on my subsystem mask as shown in these two images:
The path must be correct, i tried the complete path (C:\Users...), different sizes, different formats (.jpg, .bmp) as well with the same result.
(I do not want to put the image as an icon on the block itself (this works))
Thanks,
Steffi

Accepted Answer

Nitin Kapgate
Nitin Kapgate on 27 Oct 2020
This video, through an example outlines how to mask your subsystem in order to change its appearance. The specifics about adding a schematic image to the block dialog box can be found 2:41 minutes onwards in the video.
  1 Comment
steffw
steffw on 27 Oct 2020
Thank you for your answer, but even if i follow exactly the instructions of this video, i get the same result. Not my image will be displayed, but the "broken image" as it can be seen on my second picture.
(Whereas the same image can be displayed as an icon drawing, for which reason i'm sure that the file path and the format must be correct).
In addition to that, i tried this simulink example slexMaskParameterOptionsExample, where they add an image on a button. If i take this image 'aeropropulsion1.bmp' into my model, this image is displayed! But this doesn't work with my image. For this reason i really cannot deduce, why this error occurs.

Sign in to comment.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!