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 25 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 52 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 51 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 46 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 (email)
  •  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
  • Yair Altman (13 days 19 hours ago): @Veronica – you are using the new version of uitree, which uses HTML-based uifigures, and my post was about the Java-based uitree which uses legacy Matlab figures. For...
  • Veronica Taurino (13 days 19 hours ago): >> [txt1,txt2] ans = ‘abrakadabra’
  • Veronica Taurino (13 days 20 hours ago): Hello, I am just trying to change the uitree node name as you suggested: txt1 = 'abra'; txt2 = 'kadabra'; node.setName([txt1,txt2]); >> "Unrecognized method, property, or...
  • Yair Altman (16 days 20 hours ago): The version of JGraph that you downloaded uses a newer version of Java (11) than the one that Matlab supports (8). You need to either (1) find an earlier version of JGraph that...
  • mrv (17 days 0 hours ago): hello, I used MATLAB 2019b update9, I have add jgraphx.jar to javaclassapth, and restart matlab, but still got errors below: Warning: A Java exception occurred trying to load the...
  • xuejie wu (40 days 20 hours ago): Hi: I’m wondering if i can add my customized section or tab ?
  • Yair Altman (52 days 12 hours ago): @Sagar – use the view(az,el) function to rotate the 3D axes.
  • Sagar Chawla (52 days 12 hours ago): I want to know how to change the x-axis to the z-axis. I mean the position. Like if there is a 3d animated graph then how to change position of the axis. X-axis in place of...
  • Ren (52 days 13 hours ago): I noticed that xlsread will create a hidden and never-dying special server that always has priority when actxGetRunningServer is called. So this cause a problem that no matter how many...
  • Ben Abbott (56 days 3 hours ago): Thanks Yair, it was the second. I didn’t not include the drawnow ()
  • Yair Altman (56 days 6 hours ago): @Ben – it looks perfectly ok (with color gradient and all) on my R2022a… Perhaps you missed some of the steps (e.g. setting the ColorBinding to 'interpolated') or...
  • Ben Abbott (56 days 7 hours ago): The graded color is not working for me using R2021a. The plot “HG2 plot line color, transparency gradient” looks exactly like “Transparent HG2 plot...
  • Yair Altman (79 days 9 hours ago): Oliver – you probably forgot to update hMarkers.FaceColorType to ‘truecoloralpha‘: x=1:10; y=10*x; figure; hLine = plot(x,y,'o-'); drawnow...
  • Oliver (79 days 10 hours ago): This seems to have been disabled in the most recent version of Matlab (R2021b). When I use this method the hMarker.FaceColorData does change, but the markers are not made...
  • Yair Altman (98 days 7 hours ago): @Tim – the new uidatepicker() function only works with web-based figures (created using the uifigure() function or App Designer); it is not available on the legacy...
Contact us
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