Instant Update of GUI Edit Text using Mouse-Clicked Data
1 view (last 30 days)
Show older comments
Hi everyone,
How can I instantly update the value of Edit text box in GUI with a set of data taken by mouse click (ginput) from a MATLAB figure?
Any idea/hint is really appreciated? -- thanks
1 Comment
Arthur
on 12 Sep 2013
Well, you just add the code just after calling ginput - but that's probably not what you mean.
You'll have to give some more info. What do you mean with 'a set of data' (XY coordinates?), and what should the text boxes show?
Answers (1)
Walter Roberson
on 12 Sep 2013
Sorry, the Spooky Action At A Distance (SPAAAD) Toolbox has not been released yet. MATLAB still relies upon classical mechanics rather than quantum mechanics, and computers based upon classical mechanics always have time delays between stimulus and response.
The fastest available MATLAB method involves setting the String property of a uicontrol, and then using drawnow() to trigger a screen update. You might be able to get faster by going in at the Java level, or (on MS Windows) using an ActiveX control that can write directly into the frame buffer on the graphics card. You probably aren't going to be able to average less than 1/144 of a second without specialized graphics hardware.
0 Comments
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!