imageshow can't show image in mlx file?
Mostrar comentarios más antiguos
As far as I know, the imageshow function was introduced in R2024b and is very useful for displaying high-resolution images. However, I am unable to display my image in an .mlx file; after running, the output is just a blank screen. For example, the following example also fails to display properly in this context.
img = ones(1000,1)*linspace(1,0,2000);
imageshow(img) % can't show img
imshow function is ok.
imshow(img)
The function sometimes works and sometimes doesn’t, in most cases, it is not stable.
ENV: Matlab 2025a, windows 22H2
4 comentarios
Matt J
el 10 de Jul. de 2025
I'm having no problems with the example in R2024b. Perhaps you can downgrade.
Walter Roberson
el 11 de Jul. de 2025
Editada: Walter Roberson
el 11 de Jul. de 2025
I am not having any problems when I test from R2025a on MacOS Intel.
When I test from Windows 10 running in a virtual machine (on MacOS Intel host), the image is sometimes smaller than at other times -- but it is always produced.
I am not having any problems when I test from R2025a on Windows 11 Intel.
Matt J
el 11 de Jul. de 2025
I have now tested in R2025a and Windows 22H2. No problem with the posted example.
xingxingcui
el 11 de Jul. de 2025
Respuestas (0)
Categorías
Más información sobre Display Image en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
