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

Spicing up the Matlab Editor

Matlab’s Editor and Workspace can be enhanced quite significantly using an open-source utility.

Read More »
March 30, 2018 2 Comments

Auto-scale image colors

Images can be automatically color-scaled for maximum resolution, using the undocumented MarkedClean event.

Read More »
February 21, 2018 1 Comment

Adding custom properties to GUI objects

It is very easy to add custom user-defined properties and methods to GUI handles and Java references in Matlab.

Read More »
February 15, 2018 6 Comments

IP address input control

A built-in JIDE control can be used in Matlab GUI for IP-address entry/display.

Read More »
January 31, 2018 3 Comments

Customizing axes tick labels

Multiple customizations can be applied to tick labels.

Read More »
January 24, 2018 5 Comments

Customizing histogram plots

Basic bar charts and histogram plots can be customized in important aspects.

Read More »
January 17, 2018 No Comments

Toolbar button labels

GUI toolbar button labels can easily be set and customized using underlying Java components.

Read More »
January 8, 2018 No Comments

Using SQLite in Matlab

SQLite databases can be accessed in a variety of different ways in Matlab.

Read More »
December 27, 2017 3 Comments

PlotEdit context-menu customization

A combination of Matlab and Java Robot commands to automate a certain animation can be used when we cannot access underlying GUI/graphics code.

Read More »
December 13, 2017 No Comments

Builtin PopupPanel widget

We can use a built-in Matlab popup-panel widget control to display lightweight popups that are attached to a figure window.

Read More »
December 6, 2017 1 Comment

Customizing uifigures part 3

As I have repeatedly posted in recent years, Matlab is advancing towards web-based GUI. The basic underlying technology is more-or-less stable: an HTML/Javascript webpage that is created-on-the-fly and rendered in a stripped-down browser window (based on Chromium-based jxBrowser in recent years). However, the exact mechanism by which the controls (“widgets”)

Read More »
November 27, 2017 5 Comments

Customizing contour plots part 2

Matlab contour labels’ color and font can easily be customized.

Read More »
November 12, 2017 11 Comments

The HotLinks feature

feature(‘HotLinks’) can be used to temporarily disable hyperlinks and other markups in the Matlab console.

Read More »
October 24, 2017 1 Comment

Tips for accelerating Matlab performance

My article on “Tips for Accelerating MATLAB Performance” was recently featured in the September 2017 Matlab newsletter digest.

Read More »
October 5, 2017 2 Comments

Faster csvwrite/dlmwrite

The speed of the builtin csvwrite, dlmwrite functions can be improved dramatically.

Read More »
October 3, 2017 5 Comments

Runtime code instrumentation

Conditional breakpoints can be used to instrument code with user-specified code.

Read More »
September 28, 2017 3 Comments

Advanced Matlab online webinars

Several live online webinars on advanced Matlab programming will be presented in September-October 2017.

Read More »
September 7, 2017 2 Comments

Matlab GUI training seminars – Zurich, 29-30 August 2017

Advanced Matlab training courses on Matlab User Interfaces (GUI) will be presented in Zurich Switzerland on 29-30 August, 2017

Read More »
August 4, 2017 No Comments

Sending HTML emails from Matlab

Matlab’s sendmail only sends simple text messages by default; a simple hack can cause it to send HTML-formatted messages.

Read More »
August 3, 2017 2 Comments

User-defined tab completions – take 2

Matlab has changed the mechanism that enables user-defined tab-completion of function inputs.

Read More »
July 12, 2017 9 Comments

Matlab Expo – Bern, 22 June 2017

I will be speaking about easy-to-use Matlab tricks at the upcoming Matlab Expo in Bern, Switzerland on June 22, 2017.

Read More »
June 11, 2017 3 Comments

Matlab compilation quirks – take 2

A few hard-to-trace quirks with Matlab compiler outputs are explained.

Read More »
May 31, 2017 No Comments

GUI formatting using HTML

HTML formatting an be used to align and background-color text within Matlab uicontrols such as buttons, listboxes, uitables etc.

Read More »
April 5, 2017 6 Comments

MathWorks-solicited Java survey

MathWorks is soliciting user feedbacks about the use of Java components in Matlab programs.

Read More »
March 23, 2017 2 Comments

I am hiring experienced Matlab programmers (Tel Aviv)

I am hiring a Matlab programmer in Tel Aviv

Read More »
February 20, 2017 No 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 (1 hour 5 minutes ago): Yair, this works wonderfully! I can’t thank you enough!
  • Collin (2 days 4 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 (2 days 20 hours ago): Collin, What version of MATLAB are you using?
  • Collin (8 days 3 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 (9 days 22 hours ago): FFT-based convolution is circular whereas MATLAB’s conv functions have several options (‘valid’, ‘same’, ‘full’) but unfortunately not...
  • Seth (10 days 0 hours ago): No luck with removing the space.
  • Seth (10 days 2 hours ago): The javascript code works fine running the application from the 2019b desktop version and the 2016b deployed version.
  • Seth (10 days 2 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 2 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 3 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 3 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 4 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 5 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 4 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 4 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