- PlotEdit context-menu customization
- Builtin PopupPanel widget
- Customizing uifigures part 3
- Customizing contour plots part 2
- The HotLinks feature
- Tips for accelerating Matlab performance
- Faster csvwrite/dlmwrite
- Runtime code instrumentation
- Advanced Matlab online webinars
- Matlab GUI training seminars – Zurich, 29-30 August 2017
- Sending HTML emails from Matlab
- User-defined tab completions – take 2
- Matlab Expo – Bern, 22 June 2017
- Matlab compilation quirks – take 2
- GUI formatting using HTML
- Desktop (42)
- Figure window (49)
- Guest bloggers (59)
- GUI (148)
- Handle graphics (77)
- Hidden property (41)
- Icons (7)
- Java (164)
- Listeners (20)
- Memory (15)
- Mex (12)
- Presumed future risk (361)
- Public presentation (6)
- Semi-documented feature (9)
- Semi-documented function (33)
- Stock Matlab function (133)
- Toolbox (7)
- UI controls (49)
- Uncategorized (13)
- Undocumented feature (193)
- Undocumented function (37)
TagsActiveX AppDesigner 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 Semi-documented function Toolbar uicontrol uifigure UIInspect uitable uitools Undocumented feature Undocumented function Undocumented property
- Alon (1 day 0 hours ago): Hello Yair, Note that if there are unused contour lines, as may be the case when hContour.LevelListMode is set to manual, the above code will not work, as hContour.EdgePrims enumerates...
- Yair Altman (1 day 7 hours ago): @sipsj11 – you are very mistaken: first, the method of setting the figure’s position to [0 0 1 1] has existed forever, not just since HG2. Secondly, this method is...
- sipsj11 (1 day 9 hours ago): Doesn’t need to be so complicated, in the new version of MATLAB can set the figure to full size easily by: fig=gcf; fig.Units='normalized'; fig.OuterPosition=[0 0 1 1];
- Anon (2 days 22 hours ago): 2017b >> c = mat2cell(1:1e6,1,repmat(1,1,1e 6)); >> tic, d=cellfun('isempty',c); toc Elapsed time is 0.011489 seconds. >> tic, d=cellfun(@isempty,c); toc Elapsed time is 0.927122...
- Yair Altman (8 days 0 hours ago): @Jim – done
- tobias (10 days 1 hour ago): Ok, I’ve just found your “Take 2” about that topic, thanks!
- tobias (10 days 1 hour ago): Hi Yair, your article saved my fingers for years now, thank you very much! But with R2016b I cannot find TC.xml anywhere, there seems to be a new solution for tab-completion. It can...
- Yair Altman (11 days 2 hours ago): @Nurdan – browser.requestFocus();
- Yair Altman (11 days 3 hours ago): @Fabrizio – jCBList.setEnabled(false) % or: jCBList.setEnabled(0)
- David (13 days 6 hours ago): Very useful resource. Once again the user community is way ahead of MathWorks developers. It’s about time they sorted out the ability to customise the appearance of individual...
- Yair Altman (13 days 20 hours ago): yes
- Collin Pecora (13 days 21 hours ago): Thanks Yair, So, it would be better to use javacomponent here? jhBut = handle(javaObjectEDT('javax.sw ing.JButton','Hello!'),'Callba ckProperties');...
- Yair Altman (13 days 23 hours ago): @Collin – hgjavacomponent is a Matlab class that is meant to contain the relevant information on a contained Java-component (peer). You can think of it as a borderless...
- Collin Pecora (14 days 0 hours ago): Yair Is there a benefit to using javcomponent over hgjavacomponent?
- Jim Hokanson (14 days 19 hours ago): Yair, Would it be possible to add an “update” section by the blurb on the listener to describe the change with HG2? I’m specifically thinking something that...
Search Results for: gui260 relevant articles found:
…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…
…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…
…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…
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…
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…
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…
…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…
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…
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…
…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&#…