Data type of UIAxes change in R2022a?

1 vue (au cours des 30 derniers jours)
Jayanth Suresh
Jayanth Suresh le 12 Mai 2022
Commenté : Jayanth Suresh le 13 Mai 2022
Hi,
I was using a MATLAB app between two versions (R2020a and R2022a) and noticed the data type of uiaxes to be different between the two versions.
When I try to create a uiaxes and check the axis type using isa I am getting two different results.
In R2020a,
tmpAxes = uiaxes; % declare uiaxes
isa(tmpAxes, 'matlab.graphics.axis.Axes') % check against `axes` data type
% output is FALSE
In R2022a,
tmpAxes = uiaxes; % declare uiaxes
isa(tmpAxes, 'matlab.graphics.axis.Axes') % check against `axes` data type
% output is TRUE
Any possible reason this might be happening? Thanks in advance.
  1 commentaire
Geoff Hayes
Geoff Hayes le 13 Mai 2022
@Jayanth Suresh - I see the same behaviour with 2021a
>> tmpAxes = uiaxes; % declare uiaxes
isa(tmpAxes, 'matlab.graphics.axis.Axes') % check against `axes` data type
ans =
logical
so perhaps this change was introduced in 2020b or 2021a.

Connectez-vous pour commenter.

Réponse acceptée

Steven Lord
Steven Lord le 13 Mai 2022
I'm not certain offhand but I suspect that's a consequence of the changes made in release R2020b.
  1 commentaire
Jayanth Suresh
Jayanth Suresh le 13 Mai 2022
Thanks for the answer Steven.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Object Programming dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by