Category Archives: Listeners

22 relevant articles found:

Blocked wait with timeout for asynchronous events

It is easy to convert asynchronous (streaming) events into a blocked wait in Matlab.

Leave a comment

Auto-scale image colors

Images can be automatically color-scaled for maximum resolution, using the undocumented MarkedClean event.

1 Comment

Enabling user callbacks during zoom/pan

Matlab zoom, pan and rotate3d modes hijack the user’s figure callbacks, but this can be overridden.

9 Comments

Using linkaxes vs. linkprop

linkaxes has a built-in limitation, so using linkprop may sometimes be beneficial.

7 Comments

Undocumented HG2 graphics events

Matlab’s new HG2 graphics engine includes many new undocumented events that could be used in various ways.

14 Comments

Property value change listeners

HG handle property changes can be trapped in a user-defined callback.

16 Comments

Disabling menu entries in deployed docked figures

Matlab’s standard menu items can and should be removed from deployed docked figures. This article explains how.

14 Comments

Waiting for asynchronous events

The Matlab waitfor function can be used to wait for asynchronous Java/ActiveX events, as well as with timeouts.

33 Comments

Setting axes tick labels format

Matlab plot axes ticks can be customized in a way that will automatically update whenever the tick values change.

18 Comments

Blurred Matlab figure window

Matlab figure windows can be blurred using a semi-transparent overlaid window – this article explains how

2 Comments