Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to change imline resume method?

1 Ansicht (letzte 30 Tage)
Felipe Moser
Felipe Moser am 13 Mär. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I'm working with imline (this also would apply to roipoly) and once I have positioned my line in the right position I would like to change the method of returning the results. In order to obtain the position of the line, it's need to double-click on the line. How could I change this to just pressing "enter" or pushing a button?
Any help is much appreciated!

Antworten (1)

Adam
Adam am 13 Mär. 2017
You don't have to double click, you can just draw the imline, without using 'wait' and under your pushbutton or keyboard callback you can call
getPosition( hLine )
where hLine is your imline object.

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by