- GUIDE or Handle Graphics. The learning curve for handle graphics is a little steeper but you have more power.
- Yes.
Which GUI to use?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to create a GUI that will update when data is given to it by Matlab in real time. I heard Guide would work, but I also heard guide may be phasing out soon. Therefore, I have two questions.
1) If guide is phasing out, what is the new tool to use?
2) Can guide automatically update several images in real time? My end goal would to have an image of a car and when the gas pedal is pushed, have the wheels spin and show the mass flow of the gas.
0 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 16 Mai 2012
Who told you GUIDE was phasing out?
9 Kommentare
Sean de Wolski
am 21 Mai 2012
@IA, I'd never thought of it that way, but when you say that, it makes steep learning curves even better!
Unfortunately my learning curve for regular expressions is flat and frequently discontinuous.
Weitere Antworten (1)
Walter Roberson
am 21 Mai 2012
It is usually much easier to update multiple axes in sequential calls, rather than simultaneously. To update them simultaneously you need to use an advanced form of the set() call involving cell arrays to mark which changes are associated with which handle that you passed in.
What do you mean by "custom graphics" ? There are a limited number of built in rendering graphic types (text objects, lines, images, patches, surfaces) and some containers (e.g., axes); and everything else has to be built up out of those. You cannot add your own custom graphics such as infinity-symbol shaped graphics windows. (The original Silicon Graphics window manager was based on Postscript, and it was indeed possible to create custom window shapes in it. That was a long time ago, though.)
For working with multiple axes, I suggest you search MATLAB Answers for tag:always-parent
Siehe auch
Kategorien
Mehr zu Interactive Control and Callbacks 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!