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

2 views (last 30 days)
ryyan
ryyan on 7 Oct 2018
Edited: Image Analyst on 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

Answers (1)

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

Categories

Find more on Graphics Object Properties in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!