Undocumented Profiler options part 3
An undocumented feature of the Matlab Profiler can report call history timeline – part 3 of series.
Undocumented Profiler options part 2
Several undocumented features of the Matlab Profiler can make it much more useful – part 2 of series.
Matlab installation take 2
A list of suggested config changes to the default Matlab installation is detailed.
File deletion memory leaks, performance
Matlab’s delete function leaks memory and is also slower than the equivalent Java function.
Pause for the better
Java’s thread sleep() function is much more accurate than Matlab’s pause() function.
Speeding up compiled apps startup
The MCR_CACHE_ROOT environment variable can reportedly help to speed-up deployed Matlab executables.
ScreenCapture utility
The ScreenCapture utility uses purely-documented Matlab for capturing a screen region as an image from within Matlab.
Bold color text in the Command Window
Matlab Command Window text can be formatted *bold* since R2011b.
xlswrite for Mac, Linux
Several Matlab utilities enable reading/writing spreadsheet data (including XLS files) in Macs, Linux.
Splash window for deployed applications
Deployed (compiled) Matlab applications take a long time to load. I present a splash window that loads immadiately, solving this problem.
Waiting for asynchronous events
The Matlab waitfor function can be used to wait for asynchronous Java/ActiveX events, as well as with timeouts.
Trapping warnings efficiently
warnings can be trapped in a try-catch block just like regular errors. This articles explains how.
Multi-line uitable column headers
Matlab uitables can present long column headers in multiple lines, for improved readability.
The Java import directive
The import function can be used to clarify Java code used in Matlab.
Undocumented scatter plot jitter
Matlab’s scatter plot can automatically jitter data to enable better visualization of distribution density.
Internal Matlab memory optimizations
Copy-on-write and in-place data manipulations are very useful Matlab performance improvement techniques.
Array resizing performance
Several alternatives are explored for dynamic array growth performance in Matlab loops.
Preallocation performance
Preallocation is a standard Matlab speedup technique. Still, it has several undocumented aspects.
Customizing menu items part 3
Matlab menu items can easily display custom icons, using just a tiny bit of Java magic powder.
Customizing menu items part 2
Matlab menu items can be customized in a variety of useful ways using their underlying Java object.
Customizing menu items part 1
Matlab menus can be customized in a variety of undocumented manners – first article of a series.
Setting axes tick labels format
Matlab plot axes ticks can be customized in a way that will automatically update whenever the tick values change.
Specialized Matlab plots
The new MathWorks Plot Gallery provides access to some plotting examples on the File Exchange. Numerous others are available, extending the customizability of Matlab graphics.
Spy Easter egg take 2
The default spy Easter-egg image in the spy function has recently changed.