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 (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 11 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 11 hours ago): >> [txt1,txt2] ans = ‘abrakadabra’
  • Veronica Taurino (13 days 12 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 11 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 (16 days 16 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 12 hours ago): Hi: I’m wondering if i can add my customized section or tab ?
  • Yair Altman (52 days 4 hours ago): @Sagar – use the view(az,el) function to rotate the 3D axes.
  • Sagar Chawla (52 days 4 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 4 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 (55 days 19 hours ago): Thanks Yair, it was the second. I didn’t not include the drawnow ()
  • Yair Altman (55 days 22 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 (55 days 22 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 1 hour 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 1 hour 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 (97 days 23 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