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.
Matlab does not provide a documented manner to serialize data into a byte stream, but we can do this with some undocumented functionality.
The built-in sprintfc function can be used to quickly generate a cell-array of formatted strings.
Handle object property access (get/set) performance can be significantly improved using dot-notation.
Matlab's MEX API contains numerous undocumented functions, that can be extremely useful.
The standard figure toolbar and menubar can easily be modified to include a list of recently-used files.
Annotation object can be programmatically set at, and pinned-to, plot axes data points.
Several undocumented features of the Matlab Profiler can make it much more useful - part 4 of series.
An undocumented feature of the Matlab Profiler can report call history timeline - part 3 of series.
Matlab plot axes ticks can be customized in a way that will automatically update whenever the tick values change.
mtic and mtoc were a couple of undocumented features that enabled users of past Matlab releases to easily profile memory usage.