Effacer les filtres
Effacer les filtres

What command to be used to make "Return" button as a button to continue an automated tool?

1 vue (au cours des 30 derniers jours)
I am doing an automated tool on matlab for an image. Now, I used imellipse and the to convert the selected one to binary image. in the automated tool what command can be used to let the user draw the ellipse and how to make the "return" button continue the operation after the user finishes the ellipse?

Réponse acceptée

Chad Greene
Chad Greene le 8 Mar 2015
Use waitforbuttonpress and key = get(gcf, currentcharacter). If key equals 13, the user hit return.

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by