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

2 Ansichten (letzte 30 Tage)
ryyan
ryyan am 7 Okt. 2018
Bearbeitet: Image Analyst am 3 Sep. 2020
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

Antworten (1)

Michel Vergeau
Michel Vergeau am 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:

Kategorien

Mehr zu Graphics Object Properties finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by