- Enclose with " for exact match e.g., "uitable report"
- Advanced on-site Matlab training - amazing value
- Adding dynamic properties to graphic handles
- Callback functions performance
- Solving an mput (FTP) hang problem
- Accessing internal Java class members
- Static Java classpath hacks
- Using linkaxes vs. linkprop
- Matlab designs by Tim Smith
- Capturing print events
- JGraph in Matlab figures
- Some performance-tuning tips
- Sliders in Matlab GUI
- Persisting transparent colors in HG2
- Undocumented HG2 graphics events
- copyobj behavior change in HG2
- General-use object copy
- Desktop (35)
- Figure window (37)
- Guest bloggers (49)
- GUI (126)
- Handle graphics (69)
- Hidden property (35)
- Icons (7)
- Java (144)
- Listeners (19)
- Memory (14)
- Mex (9)
- Presumed future risk (304)
- Semi-documented feature (7)
- Semi-documented function (31)
- Stock Matlab function (118)
- Toolbox (4)
- UI controls (42)
- Uncategorized (10)
- Undocumented feature (154)
- Undocumented function (31)
TagsActiveX Callbacks COM Compiler Desktop Donn Shull Editor Figure FindJObj GUI GUIDE Handle graphics HG2 Hidden property HTML Icons Internal component Java JavaFrame JIDE JMI Listener Malcolm Lidierth MCOS Memory Menubar Mex Optical illusion Performance Profiler Pure Matlab schema schema.class schema.prop scribe Semi-documented function Toolbar uicontrol UIInspect uitable uitools uiundo Undocumented feature Undocumented function Undocumented property
- Yair Altman (9 hours 26 minutes ago): @David – you will need to do this programmatically: this is typically handled by the window frame but without the frame it doesn’t happen automatically. So trap a...
- David M (1 day 6 hours ago): Hello Yair, Is it possible to grab and drag a ‘frameless’ figure without the title bar? I would like to click somewhere in the frameless figure area, and drag it around....
- Dani (3 days 15 hours ago): The keepAlpha of Fabian does a good job preventing Matlab to get rid of the transparency again when, e.g., legend is called. Is there a way to convince ‘legend’ to show the...
- Mollie (7 days 0 hours ago): Hi Yair, I recently updated to Matlab 2015a and thus updated my UISplitPane method in my program. I was using your previous UISplitPane method on Matlab 2012a and referenced a...
- Martin Afanasjew (8 days 12 hours ago): @Yair – there are probably many variants I haven’t tested. If I have a function used internally by a single class, then I fully agree with you. However, the exercise...
- Yair Altman (8 days 13 hours ago): You are missing one important variant, that I expect to be the fastest of all: @plus where plus(obj,x) is a sub-function in the same class file as the main class, but...
- Martin Afanasjew (8 days 13 hours ago): I finally ran a simple benchmark (on OS X 10.10.5) to support my argument. It also very nicely shows the performance improvements in R2015b. In the benchmark obj is an...
- Julien (11 days 5 hours ago): Very interesting… But when I see your first figure with this scrollable container which contains an axes, I would like to know more! Could you briefly explain how you...
- dariush (12 days 1 hour ago): Hi Yair. I wrote a fairly complex GUI in R2014b and i have the problem of very slow startup. Could you please explain a little more on the solution you mentioned here. What steps...
- Yair Altman (12 days 5 hours ago): @Thurston – I assume this is due to the slowdown in Matlab’s new graphics system (HG2) in R2014b, for some graphic aspects. In your case, using patches probably...
- Thurston Herricks (12 days 5 hours ago): Hello Dr. Altman, I am trying generate a GUI that has a a few patches in it. Even with relatively few patches with 600 faces I experience significant performance issues...
- Simon (12 days 17 hours ago): Hi Yair! Thanks for this great piece of code! It works perfectly. I have a question concerning the customization of the data-tips: I’d like to give the user the ability to...
- Yair Altman (13 days 17 hours ago): @Erik – system_dependent (or its close sibling feature) change very frequently, sometimes even on adjacent releases, so it doesn’t make much sense to...
- Erik (13 days 17 hours ago): Please document the system_dependent function (e.g. see its uses in ver.m). It can get OS specific info, which can be of major use for GUI developers that need to customise their GUIs...
- Mark G (17 days 7 hours ago): @Stefan – Good find on the matlabcentral post. That will save me from more time pursuing unlikely prospects. Thanks all.
Search Results for: gui218 relevant articles found:
…ccur within the specified number (e.g., fast double-clicks) will be considered by the component as only a single click. The default value of 0 means that all clicks will be processed separately, which is often undesirable in GUI applications. Remember that the value is in milliseconds, not seconds. FlyOverAppearance – boolean flag (default=false); if set, the button appearance is changed to a flat (2D) appearance with a special 3D border… Continue reading
…for example to create graphical insets. Multi-layered graphs, with each layer having independent axes. Figure 2: A multi-layered graph. Each plot has its own graph layer with independent axes. Built-in mouse interactivity and GUIs for interactive plot editing. Figure 3: A plot editor for a single-layered graph. Java programmers might note here the use of a few custom-designed Swing widgets: a dial that subclasses JSlider and supports multiple-tur… Continue reading
I would like to welcome guest writer Takeshi (Kesh) Ikuma. Kesh has posted several interesting utilities on the Matlab File Exchange, including the award-winning Enhanced Input Dialog Box. Today, Kesh will describe how we can automate GUI actions programmatically. Automating GUI actions, including controlling a mouse and keyboard programmatically, is often useful. This can be used, for example, to demonstrate GUI usage or to perform a recorded… Continue reading
A couple of weeks ago, a reader of this website requested an article about color-selection components. So Ed – this one’s for you Matlab includes a fully-documented uisetcolor function to enable color selection. uisetcolor uses a modal dialog window for this. To integrate this color-selection dialog in our GUI, simply add a uicontrol button or a menu item that call uisetcolor in their callback function. An example of such an integr… Continue reading
Once again, I welcome guest writer Takeshi (Kesh) Ikuma. Last week, Kesh described how Java’s Robot class can be used to automate Matlab GUI. Today, Kesh will describe two Matlab utilities that help this automation process. jMouseEmu and inputEmu are both available on the Matlab File Exchange. There is a large overlap between these utilities. As their name suggests, jMouseEmu is geared to control the mouse, while inputEmu emulates both mo… Continue reading
Have you ever wondered why Matlab does not have standard GUI date-handling components? Matlab has many built-in date-handling functions (calendar, date, datestr, datenum, datetick, datevec etc.). Unfortunately, this built-in support does not extend to Matlab GUI. If we need a date-selection drop-down or calendar panel we have to design it ourselves, or use a third-party Java component or ActiveX control. JIDE Components Luckily, we have a much… Continue reading
Matlab includes a wide variety of internal widgets (GUI components) that could be very useful in our GUIs. One such widget is an animated spinning icon, which is often used by Matlab itself and numerous toolboxes to illustrate a running task: Sample usage of an animated spinning icon One of the internal widgets that are readily-available for use in our Matlab GUI and displays a similar (but not identical) spinning icon is BusyAffordance, which i… Continue reading
Advanced Matlab training courses/seminars will be held in London, March 10-14, 2014. Two separate courses will be held: Advanced Matlab Programming – 2 days (March 10-11), including best practices, preparing professional reports, writing professional code and performance tuning. US$1199 Advanced Matlab Visualization & GUI – 3 days (March 12-14), including advanced visualization and GUI techniques. US$1799 Enroll to both courses… Continue reading
uitable is probably the most complex basic GUI controls available in Matlab. It displays data in a table within a figure, with settable properties as with any other Matlab Handle-Graphics (HG) control. After many years in which the uitable was available but semi-documented and not officially supported in Matlab, it finally became fully documented and supported in R2008a (aka Matlab 7.6). At that time its internal implementation has changed from… Continue reading