Data type of UIAxes change in R2022a?

조회 수: 1 (최근 30일)
Jayanth Suresh
Jayanth Suresh 2022년 5월 12일
댓글: Jayanth Suresh 2022년 5월 13일
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
Geoff Hayes
Geoff Hayes 2022년 5월 13일
@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.

댓글을 달려면 로그인하십시오.

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by