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

Image may be NSFW.
Clik here to view.

Another Command Window text color hack

Matlab’s Command Window text is notorious for its boring black & white appearance when sending output via the built-in fprintf or disp commands. Back in 2009, I explained the undocumented ability...

View Article


Image may be NSFW.
Clik here to view.

Listbox layout customization

I haven’t written on listboxes in a long while, and since I’ve recently posted on related controls (editbox, combo-box), I thought of following up with an article on customizing Matlab listbox layout....

View Article


Performance: accessing handle properties

Graphic handle propertiesThere are several ways to access (read or update) Handle Graphics object properties. The simplest (and documented) way is to use the built-in get and set functions on the HG...

View Article

Image may be NSFW.
Clik here to view.

sprintfc – undocumented helper function

Every now and then I discover a useful built-in Matlab function, often by bumping into them within the m-code of standard functions. Such was the case, for example, of the ismembc function, that I...

View Article

Image may be NSFW.
Clik here to view.

Plotly graphs

I would like to welcome Chris Parmer of plot.ly, who will describe the integration of Plotly graphs and charts in Matlab. Unlike the open-source JFreeChart and Waterloo plotting libraries that were...

View Article


Class object creation performance

Matlab’s Class Object System (MCOS) is a powerful way to develop maintainable, modular, reusable code using a modern Object Oriented Programming (OOP) paradigm. Unfortunately, using OOP in Matlab...

View Article

Image may be NSFW.
Clik here to view.

Accessing private object properties

Some time ago, I needed to modify a property value of a class object. The problem was that this property was declared as private and for some reason my client could not modify the originating classdef...

View Article

Image may be NSFW.
Clik here to view.

2013 perspective & plans for 2014

With 2013 behind us and a fresh 2014 ahead, it is time again for a short look at this website’s achievements so far, and plans for the future.I started this blog nearly five years ago, thinking it...

View Article


Image may be NSFW.
Clik here to view.

MathWorks blogs facelift

For those of you who have not noticed, MathWorks has made a very nice facelift to its official blogs section on Matlab Central (there are also some unofficial internal blogs, but they are unfortunately...

View Article


Image may be NSFW.
Clik here to view.

Serializing/deserializing Matlab data

Last year I wrote an article on improving the performance of the save function. The article discussed various ways by which we can store Matlab data on disk. However, in many cases we are interested in...

View Article

Image may be NSFW.
Clik here to view.

Assessing Java object size in Matlab

Have you noticed that all Java object references are displayed as using 0 bytes in the Matlab Workspace browser and the whos function? This is not a bug, but in fact a deliberate design decision, in...

View Article

Image may be NSFW.
Clik here to view.

Undocumented button highlighting

One of my consulting clients approached me yesterday with a mystery: In his GUIDE-generated GUI, one of the buttons had a bluish tint, and no obvious property seemed to control this or to differentiate...

View Article

Image may be NSFW.
Clik here to view.

Improving Simulink performance

A few days ago I happened to speak with a colleague about Simulink run-time performance, and we discussed various ideas for simulation speed-up. This topic is very important to MathWorks, as evidenced...

View Article


Explicit multi-threading in Matlab – part 1

One of the limitations of Matlab already recognized by the community, is that it does not provide the users direct access to threads without the PCT (Parallel Computing Toolbox). For example, letting...

View Article

Explicit multi-threading in Matlab – part 2

Last week, I explained how we can start asynchronous Java threads to run in parallel to the main Matlab processing. Today I continue the series by examining .Net threads. Next week I will discuss C++...

View Article


Explicit multi-threading in Matlab – part 3

In the past weeks, I explained how we can start asynchronous Java threads to run in parallel to the main Matlab processing using Java and Dot-Net threads. Today I continue by examining C/C++ threads....

View Article

Explicit multi-threading in Matlab – part 4

In the past weeks, I explained how we can start asynchronous Java threads to run in parallel to the main Matlab processing using Java, Dot-Net and C++ POSIX threads. Today I conclude the mini-series by...

View Article


Undocumented feature list

Three years ago I posted an article on Matlab’s undocumented feature function. feature is a Matlab function that enables access to undocumented internal Matlab functionality. Most of this functionality...

View Article

JSON-Matlab integration

I would like to once again welcome guest blogger Mark Mikofski. Mark has written here last year about JGIT-Matlab integration (p.s., in the recently-released R2014a, MathWorks added GIT support to...

View Article

Image may be NSFW.
Clik here to view.

uicontextmenu performance

I would like to introduce guest blogger Robert Cumming, an independent contractor based in the UK who has recently worked on certification of the newest advanced civil aircraft. Today Robert will...

View Article
Browsing all 219 articles
Browse latest View live