Where can I find the 'b747.jpg' image
7 次查看(过去 30 天)
显示 更早的评论
I was going through the Simulink Fundamentals course (Subsystems > Masking Subsystems) and one of the tasks asks to use the stock image 'b747.jpg' as the subsystem's icon.
However, when I save my changes it says "Warning: The image file in 'image' drawing commands in block 'SimulinkFundamentals/PI_Controller' cannot be found on MATLAB path or has an invalid path." I've looked through my MATLAB path variable and can't find the image under any of the sub-folders. I've also searched through the whole MATLAB folder and no 'b747.png' image exists.
I found the related question https://www.mathworks.com/matlabcentral/answers/54439-list-of-builtin-demo-images which says that these demo images are found in "C:\Program Files\MATLAB\R2014a\toolbox\images\imdata". However, my 2023b release doesn't have a toolbox\images folder and I can't find other demo images like 'cameraman' or 'coins'.
Do I need to add something to my path variable or does the image simply not exist in recent releases?
0 个评论
采纳的回答
Sulaymon Eshkabilov
2024-1-8
Note that starting in Jan 2022, MATLAB/Simulink toolboxes don't come with a builtin stock images including B747.jpg. Therefore, you can't find it.
You can use any image at your disposal for the icon.
1 个评论
Ou Li
2024-3-1
Sulaymon, thanks for the explanation. Using Simulink Online, it seems that it is not an option to specify the location for images to be diaplaced as the icon.
Could you pls. share some ideas?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!