MathWorks-solicited Java survey
Over the years I’ve reported numerous uses for integrating Java components and functionality in Matlab. As I’ve also recently reported, MathWorks is apparently making a gradual shift away from...
View ArticleGUI formatting using HTML
As I’ve mentioned several times in the past, HTML can be used for simple formatting of GUI controls, including font colors/sizes/faces/angles. With a bit of thought, HTML (and some CSS) can also be...
View ArticleMatlab training seminars – Zurich, 19-20 June 2017
Advanced Matlab training courses/seminars will be presented by me (Yair) in Zürich, Switzerland on 19-20 June, 2017:June 19 (full day) – Object-oriented Matlab programming – US$399 ($100 discount if...
View ArticleMatlab compilation quirks – take 2
Once again I would like to welcome guest blogger Hanan Kavitz of Applied Materials. Hanan posted a couple of guest posts here over the past few years, including a post last year about quirks with...
View ArticleMatlab Expo – Bern, 22 June 2017
My Matlab Expo 2016 keynote presentation (32:45)(Matlab Expo 2017 presentation will be different)MathWorks were very kind to invite me to speak at the upcoming annual Matlab Expo in Bern, Switzerland,...
View ArticleUser-defined tab completions – take 2
Back in 2010, I posted about Matlab’s undocumented mechanism for setting Matlab desktop tab-completions. That mechanism used a couple of internal files (TC.xml and TC.xsd) to describe the various...
View ArticleSending HTML emails from Matlab
A few months ago I wrote about various tricks for sending email/text messages from Matlab. Unfortunately, Matlab only sends text emails by default and provides no documented way to send HTML-formatted...
View ArticleMatlab GUI training seminars – Zurich, 29-30 August 2017
Advanced Matlab training courses/seminars will be presented by me (Yair) in Zürich, Switzerland on 29-30 August, 2017:August 29 (full day) – Interactive Matlab GUIAugust 30 (full day) – Advanced...
View ArticleAdvanced Matlab online webinars
I will present the following live online webinars on advanced Matlab topics in the upcoming weeks (click the webinar titles for a detailed description):Sep 25, 2017 (Mon) – Interactive Matlab GUI –...
View ArticleRuntime code instrumentation
I regularly follow the MathWorks Pick-of-the-Week (POTW) blog. In a recent post, Jiro Doke highlighted Per Isakson’s tracer4m utility. Per is an accomplished Matlab programmer, who has a solid...
View ArticleFaster csvwrite/dlmwrite
Matlab’s builtin functions for exporting (saving) data to output files are quite sub-optimal (as in slowwwwww…). I wrote a few posts about this in the past (how to improve fwrite performance, and save...
View ArticleTips 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...
View ArticleThe HotLinks feature
Back in 2010, I posted about Matlab’s undocumented feature function. One of the features that I mentioned was 'HotLinks'. A few days ago I had an occasion to remember this feature when a StackOverflow...
View ArticleCustomizing contour plots part 2
A few weeks ago a user posted a question on Matlab’s Answers forum, asking whether it is possible to display contour labels in the same color as their corresponding contour lines. In today’s post I’ll...
View ArticleCustomizing uifigures part 3
As I have repeatedly posted in recent years, Matlab is advancing towards web-based GUI. The basic underlying technology is more-or-less stable: an HTML/Javascript webpage that is created-on-the-fly and...
View ArticleBuiltin PopupPanel widget
8 years ago I blogged about Matlab’s builtin HelpPopup widget. This control is used by Matlab to display popup-windows with help documentation, but can also be used by users to display custom...
View ArticlePlotEdit context-menu customization
Last week, a Matlab user asked whether it is possible to customize the context (right-click) menu that is presented in plot-edit mode. This menu is displayed by clicking the plot-edit (arrow) icon on...
View ArticleUsing SQLite in Matlab
MathWorks invests a huge amount of effort in recent years on supporting large distributed databases. The business case for this focus is entirely understandable, but many Matlab users have much simpler...
View ArticleToolbar button labels
I was recently asked by a client to add a few buttons labeled “1”-“4” to a GUI toolbar. I thought: How hard could that be? Simply get the toolbar’s handle from the figure, then use the builtin...
View ArticleCustomizing histogram plots
Earlier today, I was given the task of displaying a histogram plot of a list of values. In today’s post, I will walk through a few customizations that can be done to bar plots and histograms in order...
View Article