Azzera filtri
Azzera filtri

Data type of UIAxes change in R2022a?

1 visualizzazione (ultimi 30 giorni)
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 Commento
Geoff Hayes
Geoff Hayes il 13 Mag 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.

Accedi per commentare.

Risposta accettata

Steven Lord
Steven Lord il 13 Mag 2022
I'm not certain offhand but I suspect that's a consequence of the changes made in release R2020b.

Più risposte (0)

Categorie

Scopri di più su Graphics Object Programming in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by