Modifying default toolbar/menubar actions
Did you ever wish to modify Matlab’s default toolbar/menubar items?I recently consulted to a client who needed to modify the default behavior of the legend action in the toolbar, and the corresponding...
View ArticleTab panels – uitab and relatives
In the past year, readers of this blog have used its search box thousands of times. Can you guess what the top search terms are?It turns out that 7 of the top 15 search terms relate to tables, trees...
View ArticleGUI 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...
View ArticleGUI automation utilities
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...
View ArticleAccessing plot brushed data
A few days ago, a reader of the Matlab Desktop blog asked whether it is possible to store plot brushed data in a separate variable for later processing. Data Brushing, first introduced in R2008a,...
View Articleuisplittool & uitogglesplittool
Matlab 7.6 (R2008a) and onward contain a reference to uisplittool and uitogglesplittool in the javacomponent.m and %matlabroot%/bin/registry/hg.xml files. These are reported as built-in functions by...
View Articleuisplittool & uitogglesplittool callbacks
Last week, I presented the undocumented uisplittool and uitogglesplittool functions and showed how they can be added to a Matlab figure toolbar. Today I wish to conclude this topic by explaining how...
View ArticleFIG files format
A short while ago, a StackOverflow user asked how to extract data from FIG files in Matlab. The answer to this question is easy, but I wish to use the opportunity to show how this can be useful in...
View ArticleEnable/disable entire figure window
Some time ago, a reader on the CSSM newsgroup asked whether it is possible to disable an entire figure window while some processing is taking place. Last week, Mike posted an article about the built-in...
View ArticleTransparent Matlab figure window
Every now and then, a user asks whether it is possible to make an entire Matlab window transparent (example). This could be used, for example, for window fade-in/fade-out effects. The short answer is...
View ArticleBlurred Matlab figure window
Following my post two weeks ago about disabling an entire Matlab figure window, and my article last week about setting the transparency of a figure window, I would like to combine these two...
View ArticleMinimize/maximize figure window
Over the past couple of years, I posted several articles using the JavaFrame property of the figure handle, which enables access to the GUI’s underlying Java peer object. Today, I show how using...
View ArticleDocking figures in compiled applications
Up until Matlab release R2008a, the Matlab compiler enabled compiled Matlab applications to have dockable figure windows, which docked into a “Figures” container. Starting with R2008a, the compiler...
View ArticleCustomizing menu items part 1
Over the past years, I have not posted articles dealing with menu items. I have shown how to directly access menu items’ hidden handles, but not much more than that. A year ago I promised a mini-series...
View ArticleDisabling menu entries in deployed docked figures
Last week I presented an article explaining how to solve an issue with deployed (compiled) Matlab applications. Today I’d like to welcome guest blogger Alexander Mering, who will explain how to disable...
View ArticlePinning annotations to graphs
Many Matlab users are aware of Matlab’s annotation functionality, which enables us to assign graphic elements such as arrows, lines, ellipses and text labels to Matlab figures. Matlab has a...
View ArticleCustomizing the standard figure toolbar, menubar
A few days ago, a client asked me to integrate an MRU (most-recently-used) file list in a Matlab GUI window. The naive approach was to add a new “Recent files” main menu, but this would look bad. Today...
View ArticleCustomizing figure toolbar background
In one of my projects, I needed to present a radar (polar) plot. Such plots are usually drawn on a black background and I wanted all the plot controls to blend into this background.Matlab figure having...
View ArticleHG2 update
Exactly three years ago, I posted information (here and here) about Matlab’s upcoming new graphics engine, so-called HG2 (Handle Graphics version 2). At the time, I was sure that HG2 was just around...
View ArticleA couple of internal Matlab bugs and workarounds
Like any other major software package, Matlab too has its share of bugs. If you ask me, the number of known bugs in Matlab is actually very small compared to the industry standard. Posting bugs online...
View Article