Possible to disable Toolbar in R2018b?

조회 수: 1 (최근 30일)
Peter Lyngø Sørensen
Peter Lyngø Sørensen 2018년 11월 26일
답변: Michel Vergeau 2018년 11월 26일
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

답변 (1개)

Michel Vergeau
Michel Vergeau 2018년 11월 26일
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.

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by