Quantcast
Channel: Undocumented Matlab
Browsing all 219 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Smart listbox & editbox scrollbars

A good friend recently asked me for examples where using Java in Matlab programs provides a significant benefit that would offset the risk of using undocumented/unsupported functionality, which may...

View Article


Setting class property types – take 2

Three years ago, almost to the day, I wrote about a very handy undocumented feature of Matlab classes that enables us to specify type restrictions for any Matlab class property. We can specify property...

View Article


Image may be NSFW.
Clik here to view.

Transparent labels

For the application that I will be presenting at next week’s MATLAB Expo in Munich (presentation slides), I wanted to add a text label at a specific location within the figure. The problem was, as you...

View Article

Image may be NSFW.
Clik here to view.

Viewing saved profiling results

Many Matlab users know and utilize Matlab’s built-in Profiler tool to identify performance bottlenecks and code-coverage issues. Unfortunately, not many are aware of the Profiler’s programmatic...

View Article

Image may be NSFW.
Clik here to view.

rmfield performance

Once again I would like to introduce guest blogger Hanan Kavitz of Applied Materials. Several months ago Hanan discussed several quirks with compiled Matlab DLLs. Today Hanan will discuss how they...

View Article


Figure window customizations

A friend recently asked me, in light of my guesstimate that Java-based Matlab figures will be replaced by web-based figures sometime around 2018-2020, whether there are any “killer features” that make...

View Article

Image may be NSFW.
Clik here to view.

MEX ctrl-c interrupt

I recently became aware of a very nice hack by Wotao Yin (while at Rice in 2010; currently teaching at UCLA). The core problem is that unlike m-files that can be interrupted in mid-run using ctrl-c,...

View Article

Handling red Java console errors

Anyone who has worked with non-trivial Matlab GUIs knows that from time to time we see various red Java stack-trace errors appear in the Matlab console (Command Window). These errors do not appear...

View Article


Image may be NSFW.
Clik here to view.

A few parfor tips

Matlab Expo 2016 keynote presentation A few days ago, MathWorks uploaded a video recording of my recent keynote presentation at the Matlab Expo 2016 in Munich, Germany. During the presentation, I...

View Article


Image may be NSFW.
Clik here to view.

Listbox selection hacks

Last week a reader on the CSSM newsgroup asked whether it is possible to programmatically deselect all listbox items. By default, Matlab listboxes enable a single item selection: trying to deselect it...

View Article

Image may be NSFW.
Clik here to view.

Customizing uifigures part 1

Last month, I posted an article that summarized a variety of undocumented customizations to Matlab figure windows. As I noted in that post, Matlab figures have used Java JFrames as their underlying...

View Article

Image may be NSFW.
Clik here to view.

Customizing axes part 5 – origin crossover and labels

When HG2 graphics was finally released in R2014b, I posted a series of articles about various undocumented ways by which we can customize Matlab’s new graphic axes: rulers (axles), baseline, box-frame,...

View Article

Image may be NSFW.
Clik here to view.

AppDesigner’s mlapp file format

Six years ago, I exposed the fact that *.fig files are simply MAT files in disguise. This information, in addition to the data format that I explained in that article, can help us to introspect and...

View Article


Zero-testing performance

I would like to introduce guest blogger Ken Johnson, a MATLAB Connections partner specializing in electromagnetic optics simulation. Today Ken will explore some performance subtleties of zero testing...

View Article

Image may be NSFW.
Clik here to view.

Customizing uifigures part 2

I would like to introduce guest blogger Iliya Romm of Israel’s Technion Turbomachinery and Heat Transfer Laboratory. Today Iliya will discuss how Matlab’s new web-based figures can be customized with...

View Article


Image may be NSFW.
Clik here to view.

Aligning uicontrol contents

Matlab automatically aligns the text contents of uicontrols: button labels are centered, listbox contents are left-aligned, and table cells align depending on their contents (left-aligned for strings,...

View Article

Image may be NSFW.
Clik here to view.

Icon images & text in Matlab uicontrols

One of my consulting clients recently asked me if I knew any builtin Matlab GUI control that could display a list of colormap names alongside their respective image icons, in a listbox or popup menu...

View Article


Image may be NSFW.
Clik here to view.

uigetfile/uiputfile customizations

Matlab includes a few built-in file and folder selection dialog windows, namely uigetfile, uiputfile and uigetdir. Unfortunately, these functions are not easily extendable for user-defined...

View Article

Working with non-standard DPI displays

With high-density displays becoming increasingly popular, some users set their display’s DPI to a higher-than-standard (i.e., >100%) value, in order to compensate for the increased pixel density to...

View Article

Speeding up Matlab-JDBC SQL queries

Many of my consulting projects involve interfacing a Matlab program to an SQL database. In such cases, using MathWorks’ Database Toolbox is a viable solution. Users who don’t have the toolbox can also...

View Article
Browsing all 219 articles
Browse latest View live