Image on subsystem mask

3 次查看(过去 30 天)
steffw
steffw 2020-10-22
评论: steffw 2020-10-27
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

采纳的回答

Nitin Kapgate
Nitin Kapgate 2020-10-27
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 个评论
steffw
steffw 2020-10-27
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Computer Vision with Simulink 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by