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

Using JIDE combo-boxes

Matlab includes many custom JIDE combo-box controls that can be used in Matlab GUIs out of the box.

Read More »
October 16, 2013 2 Comments

Editable combo-box

Matlab’s popup menu (combo-box) control is quite limited in its abilities. This article explains how we can work around these limitations.

Read More »
October 9, 2013 20 Comments

Editbox data input validation

Undocumented features of Matlab editbox uicontrols enable immediate user-input data validation

Read More »
October 2, 2013 6 Comments

Customizing editboxes

Matlab’s editbox can be customized in many useful manners

Read More »
September 25, 2013 9 Comments

Rich-contents log panel

Matlab listboxes and editboxes can be used to display rich-contents HTML-formatted strings, which is ideal for log panels.

Read More »
September 18, 2013 15 Comments

Variables Editor scrolling

The Matlab Variables Editor can be accessed to provide immediate scrolling to a specified cell location.

Read More »
September 11, 2013 6 Comments

Function definition meta-info

There are multiple ways to retrieve meta-info about functions in Matlab.

Read More »
September 4, 2013 6 Comments

Allocation performance take 2

The clear function has some non-trivial effects on Matlab performance.

Read More »
August 14, 2013 6 Comments

treeTable

A description of a sortable, groupable tree-table control that can be used in Matlab is provided.

Read More »
August 6, 2013 87 Comments

Sparse data math info

Matlab contains multiple libraries for handling sparse data. These can report very detailed internal info.

Read More »
July 31, 2013 2 Comments

Undocumented Matlab MEX API

Matlab’s MEX API contains numerous undocumented functions, that can be extremely useful.

Read More »
July 24, 2013 6 Comments

Math libraries version info & upgrade

Matlab exposes undocumented info about its internal math libraries; these libraries can be upgraded manually.

Read More »
July 17, 2013 7 Comments

JGit-Matlab integration

JGit source-control integration package can easily be integrated in Matlab.

Read More »
July 10, 2013 6 Comments

Waterloo graphics animation and web deployment

Waterloo graphics can be updated very quickly in Matlab, enabling plot animation; web deployment of the graphics is also possible.

Read More »
July 3, 2013 12 Comments

Waterloo graphics beta

The Waterloo graphics library extends Matlab graphics with numerous customizable plots that can be embedded in Matlab figures.

Read More »
June 26, 2013 11 Comments

Using Java 7 in Matlab R2013a and earlier

Java 7 can be installed on Matlab releases that currently have Java 6. This article describes the process.

Read More »
June 19, 2013 15 Comments

A couple of internal Matlab bugs and workarounds

A couple of undocumented Matlab bugs have simple workarounds.

Read More »
June 12, 2013 4 Comments

Matlab-Latex interface

Matlab’s support for Latex has some hidden quirks

Read More »
June 5, 2013 14 Comments

Real-time trading system demo

A real-time Matlab-based end-to-end trading system demo is presented

Read More »
May 29, 2013 1 Comment

Displaying animated GIFs

It is possible to easily display animated images in Matlab figure windows.

Read More »
May 22, 2013 16 Comments

HG2 update

HG2 appears to be nearing release. It is now a stable mature system.

Read More »
May 15, 2013 134 Comments

Improving save performance

There are many different ways of improving Matlab’s standard save function performance.

Read More »
May 8, 2013 19 Comments

New York City visit, 21-24 May 2013

I will be visiting New York 21-24 May 2013 to speak at the Matlab Computational Finance Conference.

Read More »
May 1, 2013 2 Comments

Improving fwrite performance

Standard file writing performance can be improved in Matlab in surprising ways.

Read More »
April 24, 2013 11 Comments

Setting class property types

Matlab’s class properties have a simple and effective mechanism for setting their type.

Read More »
April 18, 2013 38 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 (4 days 4 hours ago): You can try to increase the Java heap memory size in the Matlab preferences (General => Java Heap Memory). Any changes to the settings will only take effect after restarting...
  • Thomas (4 days 5 hours ago): Hello, thanks for sharing! I currently receive the following memory error message when using savezip with a big object (Matlab R2020b, Windows 10). Error using...
  • Yair Altman (7 days 13 hours ago): Yerlan – either use menuItem1.setEnabled(0) or set(menuItem1,'Enabled',0)
  • Manzn (7 days 15 hours ago): Thank you man! you saved me, when there was no more light 😀
  • Yerlan (8 days 20 hours ago): Hello Mr. Altman, how can I disable menu items in the context menu? E.g. when I am trying to do this: menuItems = jmenu.getSubElements; menuItem1 = menuItems(1);...
  • Yair Altman (9 days 12 hours ago): Thanks for the note Eric – you forgot the crucial call to jTable.setLabelTable(labelTabl e) – I added it into your code snippet above.
  • Erik (10 days 23 hours ago): Thank you for this — I don’t know if this has been mentioned anywhere else before, but it could be useful to mention how to add custom labels to a jslider. I did the...
  • turhv (23 days 18 hours ago): very nice! work perfectly to me in MATLAB 2019a. thanks!!!
  • Jianfei (56 days 22 hours ago): I have tried the MathWorks CheckBoxList in Matlab 2015b. For whatever the reason, I can’t change the font properties. I can change the font color, but changing font properties...
  • Donato Coppola (62 days 17 hours ago): Hi Yair, I have a problem with the double format. When I run the treeTable function, the numbers in double format cells are displayed with comma as decimal separator. How can...
  • Kim (68 days 7 hours ago): Yair, the following didn’t work for me either: jh.setBorderPainted(false); Regards, Kim
  • Adil (70 days 9 hours ago): Thank you for the blog, it was useful for me. I have a file named App_project.mlapp.zip and when I extract it through Winzip it gives all the files exactly as you described above. I...
  • Mr Ashley Trowell (72 days 18 hours ago): Thank you so much for this analysis. Also, I find it somewhat horrifying. The take away seems to be to use && / || and NOT and / or. Thanks a bunch! ~Ashley
  • Matt (77 days 20 hours ago): Late reply I know, but you can call custom shortcuts with alt-#. Hold down Alt to see what number is assigned to the shortcuts you’ve created. Now if there was a way to create a...
  • James (85 days 15 hours ago): Is there a way to change the location of the window? They pop up at random locations and the user has to chase them down.
Contact us
Undocumented Matlab © 2009 - Yair Altman
Scroll to top