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!