Data type of UIAxes change in R2022a?

1 visualización (últimos 30 días)
Jayanth Suresh
Jayanth Suresh el 12 de Mayo de 2022
Comentada: Jayanth Suresh el 13 de Mayo de 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 comentario
Geoff Hayes
Geoff Hayes el 13 de Mayo de 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.

Iniciar sesión para comentar.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Graphics Object Programming en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by