CTRL+Z to UNDO actions in MATLAB ROI

19 views (last 30 days)
Sakib Mahmud
Sakib Mahmud on 4 Dec 2020
Edited: Jemima Pulipati on 22 Dec 2020
Is there any option to UNDO the movements/actions in MATLAB ROI? If there is not, it would be awesome if CTRL+Z to UNDO actions is added to MATLAB ROI so that extra code is not required to be written for this purpose.

Answers (1)

Jemima Pulipati
Jemima Pulipati on 15 Dec 2020
Edited: Jemima Pulipati on 22 Dec 2020
Hello,
From my understanding, you are trying to find a way to undo an action in ROI.
Currently there is no shortcut to delete a recently drawn stroke in ROI. This issue is brought to the notice of our developers and it might be considered in the future releases of MATLAB.
As a workaround you can use the following,
  1. Place your cursor on any vertex of ROI, right click and select the option 'Delete Vertex'. This removes the vertex as well as the edges associated with the vertex
  2. Place your cursor on any part of the ROI other than the vertex, right click and select the option 'Delete Polygon'. This deletes the entire ROI on the image.

Community Treasure Hunt

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

Start Hunting!