Matlab callbacks for Java events in R2014a
R2014a changed the way in which Java objects expose events as Matlab callbacks.
Animated busy (spinning) icon
An animated spinning icon label can easily be embedded in Matlab GUI.
uicontextmenu performance
Matlab uicontextmenus are not automatically deleted with their associated objects, leading to leaks and slow-downs.
JSON-Matlab integration
JSON can easily be integrated in Matlab to achieve cross-platform standard API.
Undocumented feature list
A list of undocumented MATLAB features can be retrieved. Here’s how…
Explicit multi-threading in Matlab part 4
Matlab performance can be improved by employing timer objects and spawning external processes.
Explicit multi-threading in Matlab part 3
Matlab performance can be improved by employing POSIX threads in C/C++ code.
Explicit multi-threading in Matlab part 2
Matlab performance can be improved by employing .Net (C#, VB, F# or C++) threads.
Explicit multi-threading in Matlab part 1
Explicit multi-threading can be achieved in Matlab by a variety of simple means.
Improving Simulink performance
Simulink simulation run-time performance can be improved by orders of magnitude by following some simple steps.
Undocumented button highlighting
Matlab button uicontrols can easily be highlighted by simply setting their Value property.
Assessing Java object size in Matlab
Java object sizes are not reported by Matlab, but we can still estimate them using two free external utilities.
Serializing/deserializing Matlab data
Matlab does not provide a documented manner to serialize data into a byte stream, but we can do this with some undocumented functionality.
MathWorks blogs facelift
MathWorks has just released a new look-&-feel for their blogs section.
2013 perspective & plans for 2014
2013 has seen a continued steady growth in website content and readership. This post takes an overview of past achievements and future plans.
Accessing private object properties
Private properties of Matlab class objects can be accessed (read and write) using some undocumented techniques.
Class object creation performance
Performance aspects of Matlab class object creation are discussed, with specific suggestions.
sprintfc – undocumented helper function
The built-in sprintfc function can be used to quickly generate a cell-array of formatted strings.
Performance: accessing handle properties
Handle object property access (get/set) performance can be significantly improved using dot-notation.
Listbox layout customization
Matlab’s listbox layout can be modified to display multiple item columns and different inter-cell margins.
Another Command Window text color hack
Matlab’s fprintf command has an undocumented hack to display orange-colored text.
Matlab numerical gotchas
Matlab includes some numerical gotchas that we should be careful to avoid…
Draggable plot data-tips
Matlab’s standard plot data-tips can be customized to enable dragging, without being limitted to be adjacent to their data-point.