imageshow can't show image in mlx file?

3 ビュー (過去 30 日間)
xingxingcui
xingxingcui 2025 年 7 月 10 日
コメント済み: xingxingcui 2025 年 7 月 11 日
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 件のコメント
Matt J
Matt J 2025 年 7 月 11 日
I have now tested in R2025a and Windows 22H2. No problem with the posted example.
xingxingcui
xingxingcui 2025 年 7 月 11 日
@Matt J @Walter Roberson Thank you for your feedback! In my environment, it works intermittently—I feel like it’s a probabilistic issue.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStructures についてさらに検索

製品


リリース

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by