Tips for accelerating Matlab performance

I’m proud to report that MathWorks has recently posted my article “Tips for Accelerating MATLAB Performance” in their latest newsletter digest (September 2017). This article is an updated and expanded version of my post about consulting work that I did for the Crustal Dynamics Research Group at Harvard University, where I helped speed-up a complex Matlab-based GUI by a factor of 50-500 (depending on the specific feature). You can read the full detailed technical article here.

Crustal dynamics visualization GUI

Crustal dynamics visualization GUI

Featuring an article on the official newsletter by a non-MathWorker is rare. Doing this with someone like myself who has a reputation for undocumented aspects, and a consultancy business that potentially competes with theirs, is certainly not obvious. I take this to be a sign that despite the possible drawbacks of publishing my article, MathWorks felt that it provided enough value to the Matlab user community to merit the risk. I applaud MathWorks for this, and thank them for the opportunity of being featured in their official newsletter and conferences. I do not take it for granted in the least.

The newsletter article provides multiple ideas of improving the run-time performance for file I/O and graphics. Many additional techniques for improving Matlab’s performance can be found under the Performance tag in this blog, as well as in my book “Accelerating MATLAB Performance” (CRC Press, 2014, ISBN 978-1482211290).

I am offering a couple of webinars about various ways to improve Matlab’s run-time performance:

Both the webinar videos and their corresponding slide-decks are available for download. The webinars content is based on onsite training courses that I presented at multiple client locations (details).

 Email me if you would like additional information on the webinars or my consulting, or to inquire regarding an onsite training course.

Prasad Kalane, Pati David liked this post
Categories: Handle graphics, Low risk of breaking in future versions

Tags: , ,

Bookmark and SharePrint Print

2 Responses to Tips for accelerating Matlab performance

  1. Collin says:


    Excellent advice as always.

    I’m attempting to incorporate a breadcrumb bar into a GUI. After failing to get JIDE’s (com.jidesoft.navigation.BreadcrumbBar) to work, I tried Mathwork’s Addressbar…

    vfs = com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem;
    extReqistry =  com.mathworks.mlwidgets.explorer.model.ExplorerExtensionRegistry.getInstance;
    fileLocation = com.mathworks.matlab.api.explorer.FileLocation(pwd);
    navContext = com.mathworks.mlwidgets.explorer.model.navigation.NavigationContext(vfs,extReqistry,fileLocation);
    jAddressBar = com.mathworks.mlwidgets.explorer.widgets.address.AddressBar(navContext);

    Which seems to look and function correctly. I just cannot figure out how to get the dataChangeNotifiction callbacks in Matlab.
    Do you have any suggestions?



    • @Collin – I’ll be happy to assist you by spending time to investigate this for you, but I would naturally expect to be compensated for my time and expertise. Email me (altmany at gmail) if you’re interested.

Leave a Reply

Your email address will not be published. Required fields are marked *