CTRL+Z to UNDO actions in MATLAB ROI

28 次查看(过去 30 天)
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.

回答(1 个)

Jemima Pulipati
Jemima Pulipati 2020-12-15
编辑:Jemima Pulipati 2020-12-22
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!

Translated by