Scrollable GUI panels
Matlab enables two types of GUI container types, via the Units property: fixed-size ('pixels', 'chars', etc.) and flexible ('normalized'). In many cases, we need something in between: a panel that...
View ArticleCustomizing web-GUI uipanel
I would like to introduce guest blogger Khris Griffis. Today, Khris will continue the series of posts on web-based uifigure customization with an article showing how to create scrollable/customizable...
View ArticleMatlab callbacks for uifigure JavaScript events
I would like to welcome back guest blogger Iliya Romm of Israel’s Technion Turbomachinery and Heat Transfer Laboratory. Today Iliya will discuss how to assign Matlab callbacks to JavaScript events in...
View ArticleMatlab toolstrip – part 1
The Matlab toolstrip (ribbon) has been around officially since R2012a, and unofficially for a couple of years earlier. Since then, I blogged about the toolstrip only rarely (example). I believe the...
View ArticleMatlab toolstrip – part 2 (ToolGroup App)
A while ago I posted the first of my planned miniseries on the Matlab toolstrip (ribbon). Today I will expand that post by discussing how toolstrips can be added to Matlab GUIs. This post will remain...
View ArticleMatlab toolstrip – part 3 (basic customization)
In the previous post I showed how we can create custom Matlab apps. In such apps, the toolstrip is very often an important part. Today I continue my miniseries on toolstrips. Toolstrips can be a bit...
View ArticleReverting axes controls in figure toolbar
I planned to post a new article in my toolstrip mini-series, but then I came across something that I believe has a much greater importance and impacts many more Matlab users: the change in Matlab...
View ArticleMatlab toolstrip – part 4 (control customization)
In a previous post I showed how we can create custom Matlab app toolstrips. Toolstrips can be a bit complex to develop so I’m trying to proceed slowly, with each post in the miniseries building on the...
View ArticleMatlab toolstrip – part 5 (icons)
In a previous post I showed how we can create custom Matlab app toolstrips. Toolstrips can be a bit complex to develop so I’m trying to proceed slowly, with each post in the miniseries building on the...
View ArticleMatlab toolstrip – part 6 (complex controls)
In previous posts I showed how we can create custom Matlab app toolstrips using simple controls such as buttons and checkboxes. Today I will show how we can incorporate more complex controls into our...
View ArticleMatlab toolstrip – part 7 (selection controls)
In previous posts I showed how we can create custom Matlab app toolstrips using controls such as buttons, checkboxes, sliders and spinners. Today I will show how we can incorporate even more complex...
View ArticleMatlab toolstrip – part 8 (galleries)
In previous posts I showed how we can create custom Matlab app toolstrips using various controls (buttons, checkboxes, drop-downs, lists etc.). Today I will show how we can incorporate gallery panels...
View ArticleMatlab toolstrip – part 9 (popup figures)
In previous posts I showed how we can create custom Matlab app toolstrips using various controls. Today I will show how we can incorporate popup forms composed of Matlab figures into our Matlab...
View ArticleUndocumented plot marker types
I wanted to take a break from my miniseries on the Matlab toolstrip to describe a nice little undocumented aspect of plot line markers. Plot line marker types have remained essentially unchanged in...
View ArticleInteresting Matlab puzzle
Here’s a nice little puzzle that came to me from long-time Matlab veteran Andrew Janke:Without actually running the following code in Matlab, what do you expect its output to be? ‘Yaba’? ‘Daba’?...
View ArticleInteresting Matlab puzzle – analysis
Last week I presented a seemingly-innocent Matlab code snippet with several variants, and asked readers to speculate what its outcomes are, and why. Several readers were apparently surprised by the...
View ArticleImproving graphics interactivity
Matlab release R2018b added the concept of axes-specific toolbars and default axes mouse interactivity. Plain 2D plot axes have the following default interactions enabled by default: PanInteraction,...
View ArticleSpeeding-up builtin Matlab functions – part 3
A recurring theme in this website is that despite a common misperception, builtin Matlab functions are typically coded for maximal accuracy and correctness, but not necessarily best run-time...
View ArticleSpeeding-up builtin Matlab functions – part 3
A recurring theme in this website is that despite a common misperception, builtin Matlab functions are typically coded for maximal accuracy and correctness, but not necessarily best run-time...
View Article