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

JMI – Java-to-Matlab Interface

JMI enables calling Matlab functions from within Java. This article explains JMI’s core functionality.

Read More »
April 14, 2010 27 Comments

Image Easter egg

The default image presented by Matlab’s image function has a very interesting undocumented story.

Read More »
April 6, 2010 2 Comments

Plot LimInclude properties

The plot objects’ XLimInclude, YLimInclude, ZLimInclude, ALimInclude and CLimInclude properties are an important feature, that has both functional and performance implications.

Read More »
March 31, 2010 9 Comments

Axes LooseInset property

Matlab plot axes have an undocumented LooseInset property that sets empty margins around the axes, and can be set to provide a tighter fit of the axes to their surroundings.

Read More »
March 24, 2010 21 Comments

Plot LineSmoothing property

LineSmoothing is a hidden and undocumented plot line property that creates anti-aliased (smooth unpixelized) lines in Matlab plots

Read More »
March 17, 2010 34 Comments

Matlab and the Event Dispatch Thread (EDT)

The Java Swing Event Dispatch Thread (EDT) is very important for Matlab GUI timings. This article explains the potential pitfalls and their avoidance using undocumented Matlab functionality.

Read More »
March 10, 2010 40 Comments

Setting desktop tab completions

The Matlab desktop’s Command-Window tab-completion can be customized for user-defined functions

Read More »
March 3, 2010 37 Comments

Inactive Control Tooltips & Event Chaining

Inactive Matlab uicontrols cannot normally display their tooltips. This article shows how to do this with a combination of undocumented Matlab and Java hacks.

Read More »
February 24, 2010 8 Comments

Additional uicontrol tooltip hacks

Matlab’s uicontrol tooltips have several limitations that can be overcome using the control’s underlying Java object.

Read More »
February 17, 2010 7 Comments

Continuous slider callback

Matlab slider uicontrols do not enable a continuous-motion callback by default. This article explains how this can be achieved using undocumented features.

Read More »
February 8, 2010 56 Comments

Solving a MATLAB bug by subclassing

Matlab’s Image Processing Toolbox’s impoint function contains an annoying bug that can be fixed using some undocumented properties.

Read More »
February 7, 2010 4 Comments

Customizing listbox & editbox scrollbars

Matlab listbox and multi-line editbox uicontrols have pre-configured scrollbars. This article shows how they can be customized.

Read More »
February 1, 2010 54 Comments

setPrompt – Setting the Matlab Desktop prompt

The Matlab Desktop’s Command-Window prompt can easily be modified using some undocumented features

Read More »
January 25, 2010 15 Comments

Rich Matlab editbox contents

The Matlab editbox uicontrol does not handle HTML contents as do other uicontrols. In this article I show how this limitation can be removed.

Read More »
January 20, 2010 53 Comments

FindJObj GUI – display container hierarchy

The FindJObj utility can be used to present a GUI that displays a Matlab container’s internal Java components, properties and callbacks.

Read More »
January 12, 2010 7 Comments

FindJObj – find a Matlab component's underlying Java object

The FindJObj utility can be used to access and display the internal components of Matlab controls and containers. This article explains its uses and inner mechanism.

Read More »
January 6, 2010 69 Comments

Customizing Matlab's Workspace table

The Matlab Desktop’s Workspace pane table can be customized, as described here

Read More »
January 2, 2010 19 Comments

GUI integrated HTML panel

Simple HTML can be presented in a Java component integrated in Matlab GUI, without requiring the heavy browser control.

Read More »
December 15, 2009 3 Comments

GUI integrated browser control

A fully-capable browser component is included in Matlab and can easily be incorporated in regular Matlab GUI applications. This article shows how.

Read More »
December 9, 2009 68 Comments

Customizing help popup contents

The built-in HelpPopup, available since Matlab R2007b, has a back-door that enables displaying arbitrary text, HTML and URL web-pages.

Read More »
November 30, 2009 9 Comments

Customizing print setup

Matlab figures print-setup can be customized to automatically prepare the figure for printing in a specific configuration

Read More »
November 25, 2009 9 Comments

Undocumented XML functionality

Matlab’s built-in XML-processing functions have several undocumented features that can be used by Java-savvy users

Read More »
November 18, 2009 6 Comments

Customizing Matlab labels

Matlab’s text uicontrol is not very customizable, and does not support HTML or Tex formatting. This article shows how to display HTML labels in Matlab and some undocumented customizations

Read More »
November 11, 2009 12 Comments

Customizing uiundo

This article describes how Matlab’s undocumented uiundo undo/redo manager can be customized

Read More »
November 4, 2009 9 Comments

uiundo – Matlab's undocumented undo/redo manager

The built-in uiundo function provides easy yet undocumented access to Matlab’s powerful undo/redo functionality. This article explains its usage.

Read More »
October 29, 2009 2 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 (9 days 20 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 (11 days 10 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 (15 days 6 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 (15 days 17 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 (19 days 18 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 (19 days 21 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 (23 days 8 hours ago): Hello, has anyone tried to change the language of the DateComboBox? For example English -> French ————&# 8212;—- January -> Janvier April...
  • Yair Altman (32 days 6 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 (32 days 7 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 (33 days 17 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 (33 days 17 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 (41 days 20 hours ago): Dear Iliya, remove uibutton, instead of using the “WindowButtonDownFcnR 21; of uifigure is working for me.
  • Nicholas (51 days 7 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 (51 days 15 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 (52 days 11 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