Search Results for: gui

263 relevant articles found:

Modifying Matlab’s Look-and-Feel

…eaking, Matlab applications written on Windows will work as-is on Macintosh and Linux. Java has similar cross-platform compatibilities, but enables much greater control over the look-and-feel (L&F or PLAF) of application GUI. In a nutshell, L&Fs affect the appearance and behavior of menus, controls, color schemes etc., using a properties plug-in architecture. Java programmers can choose to use either a platform-independent L&F (cal…

Categories: Desktop, GUI, Low risk of breaking in future versions
Tags: , , ,

Uitable customization report

…x presents an overview of the wide array of components provided by JIDE and available in Matlab. uitable uses only one of these components (the SortableTable). In fact, there are many more such controls that we can use in our GUIs. These include a wide selection of combo-box (drop-down) controls – calculator, file/folder selection, date selection, color selection, multi-elements selection etc. In addition, a very wide selection of lists, t…

Categories: GUI, Java, Medium risk of breaking in future versions, Stock Matlab function, Undocumented feature
Tags: , , , , , , , ,

Password & spinner controls in Matlab GUI

…nels, uitables and uicontrols). As promised, today’s post will discuss two undocumented controls that are often useful in similar configuration panels (not necessarily for emails): password fields and spinners. Matlab GUI configuration panel including password and spinner controls (click to zoom-in) Password fields are basically editboxes that hide the typed text with some generic echo character (such as * or a bullet); spinners are editb…

Categories: GUI, High risk of breaking in future versions, Java, Semi-documented function
Tags: , ,

GUI automation using a Robot

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…

Categories: Figure window, Guest bloggers, GUI, Java, Low risk of breaking in future versions
Tags: , ,

Advanced Matlab seminars – London, 10-14 March 2014

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…

Comments Off on Advanced Matlab seminars – London, 10-14 March 2014

FindJObj GUI – display container hierarchy

In my previous post, I explained how the findjobj utility can be used to access a Matlab component’s underlying Java component. Findjobj has another role: displaying the component hierarchy of complex Matlab containers such as the figure window, GUIDE or the Editor. When findjobj is called with no output arguments, the function infers that the user requests to see the GUI version, rather than to get the control’s Java handle: >&g…

Categories: Figure window, GUI, Handle graphics, High risk of breaking in future versions, Java, UI controls, Undocumented feature
Tags: , , , , , ,

Customizing uitree

Last week, I introduced the semi-documented uitree function that enables displaying data in a hierarchical (tree) control in Matlab GUI. Today, I will continue by describing how uitrees can be customized. Note that although uitrees use Java objects internally, we can create and customize uitree using pure-Matlab code. Creating non-standard tree types To start the discussion, let’s create a simple uitree whose Root node is not one of the a…

Categories: GUI, Java, Medium risk of breaking in future versions, Semi-documented function
Tags: , , , ,

Waterloo graphics

…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…

Categories: Guest bloggers, GUI, Java, Medium risk of breaking in future versions
Tags: , , , ,

Transparent labels

…available space for a new label. I could drive the entire content down to make space for it, but that would reduce the usable space for the actual contents, which is already at a premium: Adding a transparent label to Matlab GUI (click for full-size image) A natural place for the new label, as indicated, would be on top of the empty space next to the content’s sub-tabs (Correlation and Backtesting). This empty space is taken up by Matlab&#…

Categories: GUI, High risk of breaking in future versions, Java
Tags: , ,

Color selection components

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 integra…

Categories: GUI, Java, Medium risk of breaking in future versions, Undocumented feature
Tags: , , ,