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

2 次查看(过去 30 天)
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

回答(1 个)

Michel Vergeau
Michel Vergeau 2018-11-26
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:

类别

Help CenterFile Exchange 中查找有关 Graphics Object Properties 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by