Accessing internal Java class members
Java inner classes and enumerations can be used in Matlab with a bit of tweaking.
Static Java classpath hacks
Several hacks that facilitate using the static Java classpath in Matlab are explained.
Using linkaxes vs. linkprop
linkaxes has a built-in limitation, so using linkprop may sometimes be beneficial.
Capturing print events
Matlab print events can be trapped by users to enable easy printout customization.
JGraph in Matlab figures
JGraph is a powerful open-source Java library that can easily be integrated in Matlab figures.
Some Matlab performance-tuning tips
Matlab can be made to run much faster using some simple optimization techniques.
Sliders in Matlab GUI
Professional-looking slider controls can easily be integrated in Matlab GUI.
Persisting transparent colors in HG2
We can set semi- and fully-transparent colors in HG2 for multiple graphic objects, but making these settings stick is non-trivial.
Undocumented HG2 graphics events
Matlab’s new HG2 graphics engine includes many new undocumented events that could be used in various ways.
copyobj behavior change in HG2
the behavior of Matlab’s copyobj function changed in R2014b (HG2), and callbacks are no longer copied.
General-use object copy
Matlab’s dual internal serialization/deserialization functions can be used to create duplicates of any object.
Auto-completion widget
Matlab includes a variety of undocumented internal controls that can be used for an auto-completion component.
Undocumented view transformation matrix
Matlab’s view function returns an undocumented output transformation matrix.
Handle object as default class property value
MCOS property initialization has a documented but unexpected behavior that could cause many bugs in user code.
Plot legend title
Titles to plot legends are easy to achieve in HG1 (R2014a or earlier), but much more difficult in HG2 (R2014b or newer).
Using Infiniband with Matlab Parallel Computing Toolbox
Infiniband networking can significantly improve PCT performance in Matlab parallelization and distributed computing.
Frameless (undecorated) figure windows
Matlab figure windows can be made undecorated (borderless, title-less).
Transparent legend
Matlab chart legends are opaque be default but can be made semi- or fully transparent.
Customizing Matlab uipanels
Matlab uipanel controls can be customized using Java in ways that are impossible with plain Matlab.
Simulink Data Dictionary
Simulink contains undocumented public API for access to its data dictionary functionality.
Accessing hidden HG2 plot functionality
In HG2, some of the plot functionality is hidden in undocumented properties.
Matlab compiler bug and workaround
Both the Matlab compiler and the publish function have errors when parsing block-comments in Matlab m-code.
Unorthodox checkbox usage
There are various ways to display interactive split-panes in Matlab GUI. Uiextras flex-panels override a checkbox control’s CData to display a divider.