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

Image may be NSFW.
Clik here to view.

Transparent uipanels

A well-known Matlab limitation is that component position vectors must be specified as either ‘normalized’ or some fixed-sized value, but not in combination. For example, we cannot place a button in...

View Article


Image may be NSFW.
Clik here to view.

Animated busy (spinning) icon

Matlab includes a wide variety of internal widgets (GUI components) that could be very useful in our GUIs. One such widget is an animated spinning icon, which is often used by Matlab itself and...

View Article


Image may be NSFW.
Clik here to view.

Matlab callbacks for Java events in R2014a

Exactly five years ago, in one of this blog’s first articles, I wrote an article explaining how to trap the standard Java Swing events in Matlab, in order to achieve much more extensive behavior...

View Article

Plotly graphs in IPython Notebook

Last December, I hosted an article on plot.ly‘s awesome online plotting interface for Matlab. Today, I wish to welcome Andrey Dimitrov, a plot.ly engineer, who will discuss generating Plotly graphs in...

View Article

Image may be NSFW.
Clik here to view.

Bar plot customizations

Bar charts are a great way to visualize data. Matlab includes the bar function that enables displaying 2D bars in several different manners, stacked or grouped (there’s also bar3 for 3D bar-charts, and...

View Article


Image may be NSFW.
Clik here to view.

checkClass

Over the past few years I have shown numerous uses of Java components in Matlab, many of them built-into the Matlab environment and can be used as-is. I have been asked many times how I uncover these...

View Article

Image may be NSFW.
Clik here to view.

Function call timeline profiling

Back in 2012, I wrote an article about the Matlab profiler’s undocumented functionality of storing detailed information about the function-call history, including timing information. I intended to...

View Article

Java class access pitfalls

A few days ago I consulted to a company that wanted to integrate some of their Java code in Matlab. The Java code compiled ok and ran just fine in the Java environment, but when we wanted to use the...

View Article


Image may be NSFW.
Clik here to view.

USA visit, 22-31 July 2014

I’d like to break the regular flow of technical articles, to announce that I will visit several US cities on July 22-31 to meet some clients for advanced Matlab training and consulting:July 22-24:...

View Article


Image may be NSFW.
Clik here to view.

Using pure Java GUI in deployed Matlab apps

I would like to welcome repeat guest blogger Karthik Ponudurai, who has previously written here about the JTattoo look-and-feel, and about integration of Java controls’ events with Matlab callbacks....

View Article

Image may be NSFW.
Clik here to view.

Class object tab completion & improper field names

I recently consulted to a very large industrial client. Following a merger/acquisition, the relevant R&D department had two development groups using different technologies: one group uses Matlab,...

View Article

Image may be NSFW.
Clik here to view.

Online (web-based) Matlab

For many years I searched for a good solution for deploying Matlab applications in online web-pages. There used to be a solution over a decade ago but it was taken off the market. We could use the Java...

View Article

Property value change listeners

For performance reasons, it is almost always better to respond to events (asynchronously), than to continuously check a property value (synchronous polling). Therefore, if we wish to do something when...

View Article


Image may be NSFW.
Clik here to view.

Inter-Matlab data transfer with memcached

Once again I welcome guest blogger Mark Mikofski. Mark has written here last year about JGIT-Matlab integration and earlier this year on JSON-Matlab integration. Today, Mark shows how to use the...

View Article

Image may be NSFW.
Clik here to view.

savezip utility

A few months ago I wrote about Matlab’s undocumented serialization/deserialization functions, getByteStreamFromArray and getArrayFromByteStream. This could be very useful for both sending Matlab data...

View Article


Image may be NSFW.
Clik here to view.

CheckboxList

Several years ago I blogged about using a checkbox-tree in Matlab. A few days ago there was a question on the Matlab Answers forum asking whether something similar can be done with Matlab listboxes,...

View Article

Image may be NSFW.
Clik here to view.

Customizing listbox/combobox items

Last week I wrote about using a variety of techniques to customize listbox items with an attached checkbox icon. Some of these methods used a standard Matlab listbox uicontrol, others used other...

View Article


Image may be NSFW.
Clik here to view.

Customizing combobox popups

Last week I explained how we can use display custom items in a standard Matlab combobox (popup/dropdown), using its underlying Java component. Today I will show how we can use this Java component for...

View Article

Image may be NSFW.
Clik here to view.

Customizing axes rulers

Over 4 years have passed since I’ve posted my scoop on Matlab upcoming new graphics system (a.k.a. HG2, Handle Graphics version 2). At that time HG2 was still far from usable, but that has changed when...

View Article

Image may be NSFW.
Clik here to view.

Customizing axes part 2

Last week I explained how HG2 (in R2014b) enables us to customize the axes rulers in ways that were previously impossible in HG1 (R2014a or earlier). Today I will describe other useful undocumented...

View Article
Browsing all 219 articles
Browse latest View live