ROI not resizing in app after a keyboard shortcut has been pressed

조회 수: 11 (최근 30일)
Pierre Lanari
Pierre Lanari 2021년 10월 28일
답변: Aniket 2025년 1월 27일 12:50
I have created an app with the app designer in which I use ROIs to extract information from images (chemical maps). All my ROIs can be resized interactively and the calculated output is updated live.
This is working fine until I use a keyboard shortcut while the app is selected or in the MATLAB editor. In this case existing ROIs cannot be resized interactively anymore in my app and newly created ones won't resize as well. The only solution is to restart MATLAB. Restarting the app is not enough.
I am experiencing the same issue when I run my app with MATLAB (tested with R2020a, R2020b, R2021b) on macOS or using a compiled version on both macOS and Windows systems.
Has anyone experienced something similar?

답변 (1개)

Aniket
Aniket 2025년 1월 27일 12:50
I understand that your are experiencing issues while resizing ROIs interactively once a keyboard shortcut has been used. I have experienced similar issues while using "Cmd + plus" keyboard shortcut on my macOS running R2021b.
While I do not have any workaround, this issue does not occur using R2023a or later. I recommend upgrading to latest version of MATLAB.
I hope this helps resolve the issue!

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by