Borrar filtros
Borrar filtros

Where can I find the 'b747.jpg' image

4 visualizaciones (últimos 30 días)
Dexton Kee
Dexton Kee el 8 de En. de 2024
Comentada: Ou Li el 1 de Mzo. de 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?

Respuesta aceptada

Sulaymon Eshkabilov
Sulaymon Eshkabilov el 8 de En. de 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 comentario
Ou Li
Ou Li el 1 de Mzo. de 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?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Create Large-Scale Model Components en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by