Caching is a simple and very effective means to improve code performance, as demonstrated for the datestr function.
Reading non-Latin text files
A workaround that enables reading non-Latin text files in Matlab is shown
getundoc – get undocumented object properties
getundoc is a very simple utility that displays the hidden (undocumented) properties of a specified handle object.
Controlling plot data-tips
Data-tips are an extremely useful plotting tool that can easily be controlled programmatically.
Bug and workaround in timeseries plot
Matlab’s internal hgconvertunits function has a bug that affects timeseries plots. Luckily there is a simple workaround.
Matlab installation woes
Matlab has some issues when installing a new version. This post discusses some of them and how to overcome them.
Number formatting is easy to achieve in Matlab, by using a dedicated built-in Java object.
Controlling callback re-entrancy
Callback reentrancy is a major problem for frequently-fired events. Luckily, it can easily be solved.
Uitable customization report
Matlab’s uitable can be customized in many different ways. A detailed report explains how.
Matlab’s uitables can be sortable using simple undocumented features
Running VB code in Matlab
Matlab does not natively enable running VB code, but a nice trick enables us to do just that
Matrix processing performance
Matrix operations performance is affected by internal subscriptions in a counter-intuitive way.
More undocumented timing features
There are several undocumented ways in Matlab to get CPU and clock data
JBoost – Integrating an external Java library in Matlab
This article shows how an external Java library can be integrated in Matlab
Unique computer ID
There are several alternatives for getting unique computer identifiers in Matlab
Docking figures in compiled applications
Figures in compiled applications cannot officially be docked since R2008a, but this can be done using a simple undocumented trick.
Color selection components
Matlab has several internal color-selection components that can easily be integrated in Matlab GUI
Minimize/maximize figure window
Matlab figure windows can easily be maximized, minimized and restored using a bit of undocumented magic powder
Borderless button used for plot properties
A borderless button can be used to add unobtrusive functionality to plot axes
The performance of the built-in Matlab function datenum can be significantly improved by using an undocumented internal help function
Plot-type selection components
Several built-in components enable programmatic plot-type selection in Matlab GUI – this article explains how
Blurred Matlab figure window
Matlab figure windows can be blurred using a semi-transparent overlaid window – this article explains how
Transparent Matlab figure window
Matlab figure windows can be made fully or partially transparent/translucent or blurred – this article explains how
Enable/disable entire figure window
Disabling/enabling an entire figure window is impossible with pure Matlab, but is very simple using the underlying Java. This article explains how.
An interesting uitree utility
ExploreStruct is a utility that shows how custom uitrees can be integrated in Matlab GUI