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
  • Nicholas (9 hours 19 minutes ago): Yair, this works wonderfully! I can’t thank you enough!
  • Collin (2 days 12 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 4 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 8 hours ago): No luck with removing the space.
  • Seth (10 days 10 hours ago): The javascript code works fine running the application from the 2019b desktop version and the 2016b deployed version.
  • Seth (10 days 10 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 10 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