Undocumented Matlab
  • SERVICES
    • Consulting
    • Development
    • Training
    • Gallery
    • Testimonials
  • PRODUCTS
    • IQML: IQFeed-Matlab connector
    • IB-Matlab: InteractiveBrokers-Matlab connector
    • EODML: EODHistoricalData-Matlab connector
    • Webinars
  • BOOKS
    • Secrets of MATLAB-Java Programming
    • Accelerating MATLAB Performance
    • MATLAB Succinctly
  • ARTICLES
  • ABOUT
    • Policies
  • CONTACT
  • SERVICES
    • Consulting
    • Development
    • Training
    • Gallery
    • Testimonials
  • PRODUCTS
    • IQML: IQFeed-Matlab connector
    • IB-Matlab: InteractiveBrokers-Matlab connector
    • EODML: EODHistoricalData-Matlab connector
    • Webinars
  • BOOKS
    • Secrets of MATLAB-Java Programming
    • Accelerating MATLAB Performance
    • MATLAB Succinctly
  • ARTICLES
  • ABOUT
    • Policies
  • CONTACT
Technical articles

Technical articles

Spicing up the Matlab Editor

Matlab’s Editor and Workspace can be enhanced quite significantly using an open-source utility.

Read More »
March 30, 2018 2 Comments

Auto-scale image colors

Images can be automatically color-scaled for maximum resolution, using the undocumented MarkedClean event.

Read More »
February 21, 2018 1 Comment

Adding custom properties to GUI objects

It is very easy to add custom user-defined properties and methods to GUI handles and Java references in Matlab.

Read More »
February 15, 2018 6 Comments

IP address input control

A built-in JIDE control can be used in Matlab GUI for IP-address entry/display.

Read More »
January 31, 2018 3 Comments

Customizing axes tick labels

Multiple customizations can be applied to tick labels.

Read More »
January 24, 2018 5 Comments

Customizing histogram plots

Basic bar charts and histogram plots can be customized in important aspects.

Read More »
January 17, 2018 2 Comments

Toolbar button labels

GUI toolbar button labels can easily be set and customized using underlying Java components.

Read More »
January 8, 2018 No Comments

Using SQLite in Matlab

SQLite databases can be accessed in a variety of different ways in Matlab.

Read More »
December 27, 2017 5 Comments

PlotEdit context-menu customization

A combination of Matlab and Java Robot commands to automate a certain animation can be used when we cannot access underlying GUI/graphics code.

Read More »
December 13, 2017 No Comments

Builtin PopupPanel widget

We can use a built-in Matlab popup-panel widget control to display lightweight popups that are attached to a figure window.

Read More »
December 6, 2017 1 Comment

Customizing 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 rendered in a stripped-down browser window (based on Chromium-based jxBrowser in recent years). However, the exact mechanism by which the controls (“widgets”)

Read More »
November 27, 2017 5 Comments

Customizing contour plots part 2

Matlab contour labels’ color and font can easily be customized.

Read More »
November 12, 2017 11 Comments

The HotLinks feature

feature(‘HotLinks’) can be used to temporarily disable hyperlinks and other markups in the Matlab console.

Read More »
October 24, 2017 1 Comment

Tips for accelerating Matlab performance

My article on “Tips for Accelerating MATLAB Performance” was recently featured in the September 2017 Matlab newsletter digest.

Read More »
October 5, 2017 2 Comments

Faster csvwrite/dlmwrite

The speed of the builtin csvwrite, dlmwrite functions can be improved dramatically.

Read More »
October 3, 2017 5 Comments

Runtime code instrumentation

Conditional breakpoints can be used to instrument code with user-specified code.

Read More »
September 28, 2017 3 Comments

Advanced Matlab online webinars

Several live online webinars on advanced Matlab programming will be presented in September-October 2017.

Read More »
September 7, 2017 2 Comments

Matlab GUI training seminars – Zurich, 29-30 August 2017

Advanced Matlab training courses on Matlab User Interfaces (GUI) will be presented in Zurich Switzerland on 29-30 August, 2017

Read More »
August 4, 2017 No Comments

Sending HTML emails from Matlab

Matlab’s sendmail only sends simple text messages by default; a simple hack can cause it to send HTML-formatted messages.

Read More »
August 3, 2017 2 Comments

User-defined tab completions – take 2

Matlab has changed the mechanism that enables user-defined tab-completion of function inputs.

Read More »
July 12, 2017 9 Comments

Matlab Expo – Bern, 22 June 2017

I will be speaking about easy-to-use Matlab tricks at the upcoming Matlab Expo in Bern, Switzerland on June 22, 2017.

Read More »
June 11, 2017 3 Comments

Matlab compilation quirks – take 2

A few hard-to-trace quirks with Matlab compiler outputs are explained.

Read More »
May 31, 2017 No Comments

GUI formatting using HTML

HTML formatting an be used to align and background-color text within Matlab uicontrols such as buttons, listboxes, uitables etc.

Read More »
April 5, 2017 6 Comments

MathWorks-solicited Java survey

MathWorks is soliciting user feedbacks about the use of Java components in Matlab programs.

Read More »
March 23, 2017 2 Comments

I am hiring experienced Matlab programmers (Tel Aviv)

I am hiring a Matlab programmer in Tel Aviv

Read More »
February 20, 2017 No Comments
Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10 Page11 Page12 Page13 Page14 Page15 Page16 Page17
Print This Page Print This Page
Useful links
  •  Email Yair Altman
  •  Subscribe to new posts (feed)
  •  Subscribe to new posts (reader)
  •  Subscribe to comments (feed)
 
Accelerating MATLAB Performance book
Recent Posts

Speeding-up builtin Matlab functions – part 3

Improving graphics interactivity

Interesting Matlab puzzle – analysis

Interesting Matlab puzzle

Undocumented plot marker types

Matlab toolstrip – part 9 (popup figures)

Matlab toolstrip – part 8 (galleries)

Matlab toolstrip – part 7 (selection controls)

Matlab toolstrip – part 6 (complex controls)

Matlab toolstrip – part 5 (icons)

Matlab toolstrip – part 4 (control customization)

Reverting axes controls in figure toolbar

Matlab toolstrip – part 3 (basic customization)

Matlab toolstrip – part 2 (ToolGroup App)

Matlab toolstrip – part 1

Categories
  • Desktop (45)
  • Figure window (59)
  • Guest bloggers (65)
  • GUI (165)
  • Handle graphics (84)
  • Hidden property (42)
  • Icons (15)
  • Java (174)
  • Listeners (22)
  • Memory (16)
  • Mex (13)
  • Presumed future risk (394)
    • High risk of breaking in future versions (100)
    • Low risk of breaking in future versions (160)
    • Medium risk of breaking in future versions (136)
  • Public presentation (6)
  • Semi-documented feature (10)
  • Semi-documented function (35)
  • Stock Matlab function (140)
  • Toolbox (10)
  • UI controls (52)
  • Uncategorized (13)
  • Undocumented feature (217)
  • Undocumented function (37)
Tags
ActiveX (6) AppDesigner (9) Callbacks (31) Compiler (10) Desktop (38) Donn Shull (10) Editor (8) Figure (19) FindJObj (27) GUI (141) GUIDE (8) Handle graphics (78) HG2 (34) Hidden property (51) HTML (26) Icons (9) Internal component (39) Java (178) JavaFrame (20) JIDE (19) JMI (8) Listener (17) Malcolm Lidierth (8) MCOS (11) Memory (13) Menubar (9) Mex (14) Optical illusion (11) Performance (78) Profiler (9) Pure Matlab (187) schema (7) schema.class (8) schema.prop (18) Semi-documented feature (6) Semi-documented function (33) Toolbar (14) Toolstrip (13) uicontrol (37) uifigure (8) UIInspect (12) uitools (20) Undocumented feature (187) Undocumented function (37) Undocumented property (20)
Recent Comments
  • Alessandro Beda (6 days 7 hours ago): I found what I think is a bug related to this (tested in R2022 and R2023a). If I add a “ButtonDownFcn” to the plots (see example below), then the modified...
  • Nicholas (7 days 22 hours ago): Yair, Changing the desktop help options did not solve the issue. Though, it’s unclear how I could change these options in the Runtime, if that’s what you meant? I should...
  • Yair Altman (11 days 17 hours ago): @Francisco – this is one of those cases where you should ask MathWorks support. After all, you’re trying to use a supported Matlab functionality when you encountered...
  • Francisco Campos (12 days 5 hours ago): Hello, thanks for all your work that has been immensely useful for those working in the Matlab environment. I have been trying to replace matlabcontrol with the official...
  • Yair Altman (16 days 6 hours ago): Kei – this is possible, I believe that I saw this ability somewhere, a few years ago. I don’t remember exactly where, it will require a bit of research, but...
  • Kei (16 days 8 hours ago): Hello Yair Thank you for this great article. I would like to freeze first two columns in uitable. Do you know if such option is available? Since looks like this option is not available...
  • Andrés Aguilar (19 days 20 hours ago): Hello, has anyone tried to change the language of the DateComboBox? For example English -> French ————&# 8212;—- January -> Janvier April...
  • Yair Altman (28 days 17 hours ago): I posted my treeTable utility 10 years ago for anyone to use freely, on an as-is basis, without any warranty, updates or support. If you need any customization or assistance...
  • JY (28 days 18 hours ago): Yair, could you respond to this question please? I’m also finding it difficult to implement such a multi-hierarchy table. Thanks
  • Yair Altman (30 days 4 hours ago): To debug uifigures in an external browser (e.g. to see the internal HTML/CSS) we need to first set Matlab to enable such debugging. I updated Step #2 above with the relevant...
  • Yair Altman (30 days 5 hours ago): The error indicates that the LightweightHelpPanel exists, but fails to load due to some funky preference of your deployed Help documentation. Try to set your Matlab...
  • Ba (38 days 8 hours ago): Dear Iliya, remove uibutton, instead of using the “WindowButtonDownFcnR 21; of uifigure is working for me.
  • Nicholas (47 days 19 hours ago): Hi Yair, Thanks for the reply. I am on Windows 10. I also forgot to mention that this all works wonderfully out of the editor. It only fails once compiled. So, yes, I have tried a...
  • Yair Altman (48 days 2 hours ago): Nicholas – yes, I used it in a compiled Windows app using R2022b (no update). You didn’t specify the Matlab code location that threw the error so I can’t help...
  • Nicholas (48 days 22 hours ago): Hi Yair, Have you attempted your displayWebPage utility (or the LightweightHelpPanel in general) within a compiled application? It appears to fail in apps derived from both R2022b...
Contact us
Captcha image for Custom Contact Forms plugin. You must type the numbers shown in the image
Undocumented Matlab © 2009 - Yair Altman
This website and Octahedron Ltd. are not affiliated with The MathWorks Inc.; MATLAB® is a registered trademark of The MathWorks Inc.
Scroll to top