Filter löschen
Filter löschen

Possible to disable Toolbar in R2018b?

2 Ansichten (letzte 30 Tage)
Peter Lyngø Sørensen
Peter Lyngø Sørensen am 26 Nov. 2018
Beantwortet: Michel Vergeau am 26 Nov. 2018
Hi
The addition of the "toolbar" to axes significantly slows down a GUI I have built. From https://se.mathworks.com/matlabcentral/answers/419036-what-happened-to-the-figure-toolbar-in-r2018b-why-is-it-an-axes-toolbar-how-can-i-put-the-buttons I can tell many others have similar problems.
The answers you provide in the above link do not disable the mouse motion callbacks, it only hides the toolbar from view:Screen Shot 2018-11-26 at 10.18.41 AM.png
I have a measurement tool that relies on mouse motion callbacks. It might appear as a neglible time addition with the toolbar mouse motion callbacks, but it significantly degrades performance.
Can you provide a fix for completly disabling the new Toolbar, including disabling the callbacks?
Thanks
  • Peter

Antworten (1)

Michel Vergeau
Michel Vergeau am 26 Nov. 2018
Trust me, you are not alone.
This change is very stupid, and the documentation is quite poor !
We can see that this is not technically ready yet, but they push it forward.
Not sure if they take feedback from the users, I would doubt this.
Their solution does not apply to subplot, and is not reliable at all, many times the axistoolbar comes back and makes the code break - kind of random activation of this hidden axis.

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by