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

 Akzeptierte Antwort

Nitin Kapgate
Nitin Kapgate am 27 Okt. 2020

0 Stimmen

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 Kommentar

steffw
steffw am 27 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Version

R2020b

Gefragt:

am 22 Okt. 2020

Kommentiert:

am 27 Okt. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by