Where can I find the 'b747.jpg' image

7 vues (au cours des 30 derniers jours)
Dexton Kee
Dexton Kee le 8 Jan 2024
Commenté : Ou Li le 1 Mar 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?

Réponse acceptée

Sulaymon Eshkabilov
Sulaymon Eshkabilov le 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 commentaire
Ou Li
Ou Li le 1 Mar 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?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Model Editing dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by