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

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


Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

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

Image may be NSFW.
Clik here to view.

Afterthoughts on implicit expansion

Matlab release R2016b introduced implicit arithmetic expansion, which is a great and long-awaited natural expansion of Matlab’s arithmetic syntax (if you are still unaware of this or what it means, now...

View Article


Image may be NSFW.
Clik here to view.

Sending email/text messages from Matlab

In this day and age, applications are expected to communicate with users by sending email/text messages to alert them about applicative events (“IBM stock purchased @$99.99” or “House is on fire!”)....

View Article

Image may be NSFW.
Clik here to view.

Password & spinner controls in Matlab GUI

I often include configuration panels in my programs, to enable the user to configure various program aspects, such as which emails should automatically be sent by the program to alert when certain...

View Article


Image may be NSFW.
Clik here to view.

Checking status of warning messages in MEX

Once again I would like to welcome guest blogger Pavel Holoborodko, the developer of the Advanpix Multiprecision Computing Toolbox. Pavel has already posted here as a guest blogger about undocumented...

View Article

Image may be NSFW.
Clik here to view.

Quirks with parfor vs. for

A few months ago, I discussed several tips regarding Matlab’s parfor command, which is used by the Parallel Computing Toolbox (PCT) for parallelizing loops. Today I wish to extend that post with some...

View Article


Image may be NSFW.
Clik here to view.

Parsing XML strings

I have recently consulted in a project where data was provided in XML strings and needed to be parsed in Matlab memory in an efficient manner (in other words, as quickly as possible). Now granted, XML...

View Article

Image may be NSFW.
Clik here to view.

Additional license data

Matlab’s license function returns the primary license number/ID used by Matlab, but no information about the various toolboxes that may be installed. The ver function returns a bit more information,...

View Article

Image may be NSFW.
Clik here to view.

I am hiring experienced Matlab programmers (Tel Aviv)

I am hiring experienced Matlab programmers for work in Tel Aviv, to join a growing team of Matlab experts working under my supervision. Very interesting work, good salary, and flexible worhours. This...

View Article
Browsing all 111 articles
Browse latest View live