필터 지우기
필터 지우기

Why is appdesigner toolbar not visible when visible is defined as 'on'?

조회 수: 28 (최근 30일)
Dc215905
Dc215905 2021년 5월 14일
편집: Matt J 2021년 11월 21일
Hello,
I am having trouble with Appdesigner toolbar.
First, is there a way to get it always be visible and not just when you hover over it with your mouse?
Second, despite when I define:
app.UIAxes.Toolbar.Visible = 'on'
the toolbar is not visible. I'm able to interact with it but it just disappears. Is there a fix?
  댓글 수: 8
Dc215905
Dc215905 2021년 7월 2일
Thanks, I did and it works. My previous comment was referring to the 'Accept this Answer' option in the forum. Since you answered in the comments I'm unable to accept your answer.
Peter
Peter 2021년 7월 7일
Ah I see, glad it worked. I'll post my answer again below so it can be found more easily.

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

채택된 답변

Peter
Peter 2021년 7월 7일
A workaround that worked for me was to 'reset' the Toolbar Handle Visibility after creating a plot in the UIAxes component like:
app.UIAxes.Toolbar.HandleVisibility = 'off'
app.UIAxes.Toolbar.HandleVisibility = 'on'
  댓글 수: 1
Matt J
Matt J 2021년 11월 21일
편집: Matt J 2021년 11월 21일
This didn't work for me, unfortunately (R2020a). Maybe because the axes contain an image instead of a plot...?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by