Filter löschen
Filter löschen

Where can I find the 'b747.jpg' image

4 Ansichten (letzte 30 Tage)
Dexton Kee
Dexton Kee am 8 Jan. 2024
Kommentiert: Ou Li am 1 Mär. 2024
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?

Akzeptierte Antwort

Sulaymon Eshkabilov
Sulaymon Eshkabilov am 8 Jan. 2024
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 Kommentar
Ou Li
Ou Li am 1 Mär. 2024
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?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Create Large-Scale Model Components finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by