View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

5.0 | 5 ratings Rate this file 2 Downloads (last 30 days) File Size: 2.28 KB File ID: #26454 Version: 1.1
image thumbnail



Elmar Tarajan (view profile)


22 Jan 2010 (Updated )

ALWAYSONTOP adds a pushtool to the figure toolbar for the "Always on top"-option.

| Watch this File

File Information


adds the pushtool to the each new created figure automatically.

remove the automatically adding of pushtools to new figures.

See also: UISWITCHRENDERER (in FileExchange)


This file inspired Win On Top.

MATLAB release MATLAB 7.13 (R2011b)
Other requirements none
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (9)
21 Apr 2016 per isakson

ALWAYSONTOP is broken by HG2:

>> alwaysontop auto
>> plot(1:12,'.')
Undefined function or variable 'fHG1Client'.
Error in alwaysontop>update_pushtool (line 69)
Error while evaluating PushTool ClickedCallback

and two figures were created. An empty figure with the alwaysontop icon and a second with the diagram, but without the pin-icon.

Still five stars!

18 Jun 2013 Igor

Igor (view profile)

If someone is looking for a function to simply switch ALWAYS-ON-TOP property of a figure, without a button on a figure's toolbar, see those "Win On Top" submission I've uploaded (see "Acknowledgements" section above).

Comment only
29 Apr 2013 LU

LU (view profile)

I tried with student version R2013, no error report, but it just does not work (figure not on the top).
Can you update it? it would be really helpful!

Comment only
29 Apr 2013 LU

LU (view profile)

can you make an update? Thanks very much!!!

Comment only
09 May 2012 per isakson

Thanks for a great tool. I was just reminded of how dependent on alwaysontop I've become. How do one modify or describe a diagram without seeing it? And thanks for the update!

01 Jan 2012 Jveer

Jveer (view profile)

Thank you for updating. I can confirm it works on R2011b and R2012a on both snow leopard and lion.

21 Dec 2011 Elmar Tarajan

Elmar Tarajan (view profile)

updated and tested with R2012a - works!

Comment only
26 Sep 2011 Jveer

Jveer (view profile)


This doesn't work with R2011b. I get the following error:

No appropriate method, property, or field fFigureClient for class

Error in alwaysontop>update_pushtool (line 67)

Error while evaluating uipushtool ClickedCallback

Please update.

26 Jan 2010 Evgeni

Evgeni (view profile)

The feature is very helpful for fast iterations in development process. It is better then just doking it into MATLAB environment as all settings are preserved and I can scale the figure as large as needed. Thank you Elmar!

21 Dec 2011 1.1

fixed bug in newer ML-version

Contact us