Info
This question is closed. Reopen it to edit or answer.
How to change imline resume method?
    1 view (last 30 days)
  
       Show older comments
    
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!
0 Comments
Answers (1)
  Adam
      
      
 on 13 Mar 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.
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
