matlab.ui.​controls.A​xesToolbar in R2018b

2 vues (au cours des 30 derniers jours)
ryyan
ryyan le 7 Oct 2018
There is a function which gave the following error in R2018b but not in other previous versions(R2012, R2018a). Did the AxesToolbar class changed in R2018b, how could I access the 'xlim' in this case?
Error using matlab.ui.controls.AxesToolbar/get
There is no xlim property on the AxesToolbar class.
Error in MV_tool>Activate_View_Images (line 285)
X = get(h_all_axes(i), 'xlim')
Error in MV_tool (line 31)
Activate_View_Images;
Error while evaluating ToggleTool OnCallback.
Thank you very much,
Ryf

Réponses (1)

Michel Vergeau
Michel Vergeau le 26 Nov 2018
This is because the new R2018b introduces a Feature : hidden Axis Toolbar
When you use axis handles, there's high chance that you get similar error.
Please check their partial solution page:

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by