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