Tag Archives: FindJObj

Accessing the Matlab Editor

The Matlab Editor can be accessed programmatically, for a wide variety of possible uses – this article shows how.

Categories: Desktop, High risk of breaking in future versions, Java
Tags: , , , ,
23 Comments

Detecting window focus events

Matlab does not have any documented method to detect window focus events (gain/loss). This article describes an undocumented way to detect such events.

Categories: Figure window, GUI, Hidden property, Java, Medium risk of breaking in future versions
Tags: , , , , ,
24 Comments

Figure toolbar customizations

Matlab’s toolbars can be customized using a combination of undocumented Matlab and Java hacks. This article describes how to customize the Matlab figure toolbar.

Categories: Figure window, GUI, Java, Medium risk of breaking in future versions
Tags: , , , ,
18 Comments

Setting listbox mouse actions

Matlab listbox uicontrol can be modified to detect mouse events for right-click context menus, dynamic tooltips etc.

Categories: GUI, Java, Medium risk of breaking in future versions, UI controls
Tags: , , , ,
11 Comments

Setting status-bar components

Matlab status-bars are Java containers in which we can add GUI controls such as progress-bars, not just simple text labels

Categories: Figure window, GUI, Java, Medium risk of breaking in future versions
Tags: , , ,
2 Comments

Setting status-bar text

The Matlab desktop and figure windows have a usable statusbar which can only be set using undocumented methods. This post shows how to set the status-bar text.

Categories: Desktop, Figure window, GUI, Java, Medium risk of breaking in future versions
Tags: , , , , ,
12 Comments