Matlab App Designer UI Axes Unable to Zoom In/Out Smoothly

8 次查看(过去 30 天)
Hello,
I am using Matlab 2022a, and created an app that uses this simple command to display an image on UI Axes:
imshow(app.image,'Parent', app.UIAxes);
After I display the image, when I zoom in, the image zooms in then out and then back in. It has this back and forth instead of just zooming in. Also when I first load the image and zoom in, it rotates it 180 degrees.
This weird zoom behavior happens also only after compiling the app and running it with exe and not when running it from Run in App Designer.
  1 个评论
John
John 2024-3-21
编辑:John 2024-3-21
I have a similar issue, with geoplot. Run from app designer I can zoom in and out with the mouse scroll wheel and pan while holding the left mouse button, but these mouse commands do not register/work once I have compiled into a standalone app. (Matlab 2021a)

请先登录,再进行评论。

回答(1 个)

Adam Danz
Adam Danz 2023-9-27
Please contact tech support and include instructions how to reproduce the problem, your release information, and attach the figure file.

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by