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

UDD and Java

UDD provides built-in convenience methods to facilitate the integration of Matlab UDD objects with Java code – this article explains how

Read More »
March 23, 2011 4 Comments

UDD Events and Listeners

UDD event listeners can be used to listen to property value changes and other important events of Matlab objects

Read More »
March 16, 2011 32 Comments

UDD Properties

UDD provides a very convenient way to add customizable properties to existing Matlab object handles

Read More »
March 9, 2011 8 Comments

Hierarchical Systems with UDD

UDD objects can be grouped in structured hierarchies – this article explains how

Read More »
March 2, 2011 10 Comments

Creating a simple UDD class

This article explains how to create and test custom UDD packages, classes and objects

Read More »
February 23, 2011 6 Comments

Introduction to UDD

UDD classes underlie many of Matlab’s handle-graphics objects and functionality. This article introduces these classes.

Read More »
February 16, 2011 7 Comments

Multi-column (grid) legend

This article explains how to use undocumented axes listeners for implementing multi-column plot legends

Read More »
February 7, 2011 5 Comments

JGraph and BDE

This article shows how to display graph-theory diagrams in Matlab using several different Java libraries

Read More »
January 26, 2011 13 Comments

JFreeChart graphs and gauges

JFreeChart is an open-source charting library that can easily be integrated in Matlab

Read More »
January 17, 2011 32 Comments

2010 perspective & plans for 2011

2009 and 2010 have seen steady growth in readership of this website. This post takes an overview of past achievements and future plans.

Read More »
January 8, 2011 18 Comments

handle2struct, struct2handle & Matlab 8.0

This article explains how we can use a couple of undocumented functions in Matlab GUI, and what we can learn from this about Matlab’s future.

Read More »
December 29, 2010 11 Comments

FIG files format

FIG files are actually MAT files in disguise. This article explains how this can be useful in Matlab applications.

Read More »
December 22, 2010 18 Comments

uisplittool & uitogglesplittool callbacks

Matlab’s undocumented uisplittool and uitogglesplittool are powerful toolbar controls – this article explains how to customize their behavior

Read More »
December 15, 2010 3 Comments

uisplittool & uitogglesplittool

Matlab’s undocumented uisplittool and uitogglesplittool are powerful controls that can easily be added to Matlab toolbars – this article explains how

Read More »
December 8, 2010 9 Comments

Matlab callbacks for Java events

Events raised in Java code can be caught and handled in Matlab callback functions – this article explains how

Read More »
November 30, 2010 88 Comments

Panel-level uicontrols

Matlab’s uipanel contains a hidden handle to the title label, which can be modified into a checkbox or radio-button control

Read More »
November 24, 2010 17 Comments

Uitab customizations

This article shows several customizations that can be done to Matlab’s undocumented tab-panels functionality

Read More »
November 17, 2010 11 Comments

Uitab colors, icons and images

Matlab’s semi-documented tab panels can be customized using some undocumented hacks

Read More »
November 10, 2010 42 Comments

Customizing Workspace context-menu

Matlab’s Workspace table context-menu can be configured with user-defined actions – this article explains how.

Read More »
November 3, 2010 19 Comments

Customizing uicontrol border

Matlab uicontrol borders can easily be modified – this article shows how

Read More »
October 31, 2010 15 Comments

The hgfeval function

The semi-documented hgfeval function can be useful for callback chaining – this article explains how

Read More »
October 27, 2010 2 Comments

Fixing a Java focus problem

Java components added to Matlab GUIs do not participate in the standard focus cycle – this article explains how to fix this problem.

Read More »
October 20, 2010 25 Comments

Matlab-Java interface using a static control

The switchyard function design pattern can be very useful when setting Matlab callbacks to Java GUI controls. This article explains why and how.

Read More »
October 13, 2010 27 Comments

Accessing plot brushed data

Plot data brushing can be accessed programmatically using very simple pure-Matlab code

Read More »
October 6, 2010 25 Comments

Undocumented cursorbar object

Matlab’s internal undocumented graphics.cursorbar object can be used to present dynamic data-tip cross-hairs

Read More »
September 29, 2010 40 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
  • Nicholas (9 hours 39 minutes ago): Yair, this works wonderfully! I can’t thank you enough!
  • Collin (2 days 13 hours ago): Seth Good point, I am using 2022b, mathworks seems to have started using CEF browsers from 2019a, best I can tell. take a look at the package com.mathworks.toolbox.matla...
  • Seth (3 days 5 hours ago): Collin, What version of MATLAB are you using?
  • Collin (8 days 11 hours ago): Seth, I have had some success executing javascript that requires no return value by executing it directly (sort of) on the org.cef.browser.CefBrowser that a...
  • Coo Coo (10 days 6 hours ago): FFT-based convolution is circular whereas MATLAB’s conv functions have several options (‘valid’, ‘same’, ‘full’) but unfortunately not...
  • Seth (10 days 9 hours ago): No luck with removing the space.
  • Seth (10 days 11 hours ago): The javascript code works fine running the application from the 2019b desktop version and the 2016b deployed version.
  • Seth (10 days 11 hours ago): I have been using this browser functionality in 2016b because it works fully in deployed applications in that version. However, because of Java 7 being flagged as a security risk, I...
  • Yair Altman (10 days 11 hours ago): I’ve never tested javascript callbacks, but perhaps you should try removing the extra space after the “matlab:” protocol specifier. Does it make any difference?
  • Seth (10 days 11 hours ago): I have been using this functionality in 2016b since it works in deployed applications and have not had a reason to need to upgrade but with java 7 being flagged as a security risk I am...
  • KEVIN (30 days 12 hours ago): I apologize, I intended my response to fall under ‘T’ but did not seem to work. I was referring to the bit of code posted by ‘T’ regarding the toolgroup and...
  • Yair Altman (30 days 12 hours ago): It is not clear from your comment which code exactly you are referring to and what you see differently in 19b vs. 20b, so I cannot assist with your specific query. In general I...
  • Kevin (31 days 14 hours ago): Any ideas on why this bit of code looks fine in say R2020b but produces an incorrect image in R2019b? I’m not seeing any error printouts that suggest it’s unhappy with the...
  • Yair Altman (50 days 12 hours ago): titleStr = char(hFig.Name); if strcmpi(hFig.NumberTitle,'on') prefix = ['Figure ' num2str(hFig.Number)]; if ~isempty(titleStr) titleStr = [prefix ': ' titleStr]; else titleStr...
  • T (56 days 12 hours ago): Mathworks has indeed been migrating its Java-based apps (like the PIDtuner, as you mentioned) to html-based ones (uifigures) so that they can be used in Matlab online. If you drill a bit...
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