How to get mouse coordinates in GUI (AppDesigner) ?
    7 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Mohit Kumar
 am 2 Okt. 2020
  
    
    
    
    
    Kommentiert: Ameer Hamza
      
      
 am 8 Okt. 2020
            I am using MATLAB App Designer and have inserted axes into the app. 
When the user clicks a button, I want them to be able to then select a point on the axes. Basically, the functionality should be identical to ginput.
How should I do this? I am aware that related questions have been asked but am honestly not able to understand parts of those or the solutions don't seem to work well. It looks to be something to do with using ButtonDownFcn callback and CurrentPosition but I'm not able to understand how to use these.
Thanks for your help!
Mohit.
0 Kommentare
Akzeptierte Antwort
  Ameer Hamza
      
      
 am 2 Okt. 2020
        
      Bearbeitet: Ameer Hamza
      
      
 am 2 Okt. 2020
  
      Check the attached app for the demo.
2 Kommentare
  Ameer Hamza
      
      
 am 8 Okt. 2020
				This might be some bug. You may consider filing a bug report: https://www.mathworks.com/support/bugreports/report_bug 
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

