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

Extending a Java class with UDD

Java classes can easily be extended in Matlab, using pure Matlab code.

Read More »
March 29, 2012 14 Comments

Expanding urlread capabilities

The built-in urlread functions has severe limitations. This article explains how to solve them.

Read More »
March 21, 2012 17 Comments

Matlab's internal memory representation

Matlab’s internal memory structure is explored and discussed.

Read More »
March 15, 2012 9 Comments

Java stack traces in Matlab

Matlab does not normally provide information about the Java calls on the stack trace. A simple trick can show us this information.

Read More »
March 7, 2012 4 Comments

Profiling Matlab memory usage

mtic and mtoc were a couple of undocumented features that enabled users of past Matlab releases to easily profile memory usage.

Read More »
February 29, 2012 8 Comments

New training courses

I am now offering a new service of professional Matlab training, at your location.

Read More »
February 22, 2012 2 Comments

Using Java Collections in Matlab

Java includes a wide selection of data structures that can easily be used in Matlab programs – this article explains how.

Read More »
February 16, 2012 18 Comments

Matlab mex in-place editing

Editing Matlab arrays in-place can be an important technique for optimizing calculations. This article shows how to do it using Mex.

Read More »
February 8, 2012 15 Comments

MLintFailureFiles or: Why can't I save my m-file?!

Sometimes Matlab gets into a state where it cannot use a valid m-file. This article explains what can be done.

Read More »
February 1, 2012 No Comments

Using spinners in Matlab GUI

Spinner controls can easily be added to Matlab GUI. This article explains how.

Read More »
January 25, 2012 18 Comments

Matlab-Java memory leaks, performance

Internal fields of Java objects may leak memory – this article explains how to avoid this without sacrificing performance.

Read More »
January 19, 2012 34 Comments

Recovering previous editor state

Recovering the previous state of the Matlab editor and its loaded documents is possible using a built-in backup config file.

Read More »
January 11, 2012 22 Comments

2011 perspective & plans for 2012

2011 has seen a continued steady growth in readership of this website. This post takes an overview of past achievements and future plans.

Read More »
January 4, 2012 1 Comment

Command Window text manipulation

Special control characters can be used to format text output in Matlab’s Command Window.

Read More »
December 28, 2011 7 Comments

Ideas for a new book

With my Matlab-Java book being published, reader feedback is requested about the next book project.

Read More »
December 21, 2011 18 Comments

Converting Java vectors to Matlab arrays

Converting Java vectors to Matlab arrays is pretty simple – this article explains how.

Read More »
December 14, 2011 1 Comment

Common javacomponent problems

The javacomponent function is very useful for placing Java components on-screen, but has a few quirks.

Read More »
December 7, 2011 29 Comments

Reasons for undocumented Matlab aspects

There are many reasons for the numerous undocumented aspects in Matlab – this article explains them.

Read More »
November 30, 2011 No Comments

Types of undocumented Matlab aspects

This article lists the different types of undocumented/unsupported/hidden aspects in Matlab

Read More »
November 24, 2011 No Comments

New book: Undocumented Secrets of MATLAB-Java Programming

Undocumented Secrets of Matlab-Java Programming (ISBN 9781439869031) is a book dedicated to the integration of Matlab and Java.

Read More »
November 17, 2011 14 Comments

Determining axes zoom state

The information of whether or not an axes is zoomed or panned can easily be inferred from an internal undocumented object.

Read More »
November 10, 2011 11 Comments

Multi-line tooltips

Multi-line tooltips are very easy to set up, once you know your way around a few undocumented hiccups.

Read More »
November 2, 2011 5 Comments

Uitable cell colors

A few Java-based customizations can transform a plain-looking data table into a lively colored one.

Read More »
October 26, 2011 123 Comments

Tri-state checkbox

Matlab checkboxes can easily be made to support tri-state functionality.

Read More »
October 19, 2011 5 Comments

Javacomponent background color

This article explains how to align Java component background color with a Matlab color.

Read More »
October 12, 2011 3 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 (12 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 (13 days 21 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 (17 days 16 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 (18 days 4 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 (22 days 5 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 (22 days 7 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 (25 days 19 hours ago): Hello, has anyone tried to change the language of the DateComboBox? For example English -> French ————&# 8212;—- January -> Janvier April...
  • Yair Altman (34 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 (34 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 (36 days 3 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 (36 days 4 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 (44 days 7 hours ago): Dear Iliya, remove uibutton, instead of using the “WindowButtonDownFcnR 21; of uifigure is working for me.
  • Nicholas (53 days 18 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 (54 days 1 hour 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 (54 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