Add standard figure toolbar in app designer
조회 수: 12 (최근 30일)
이전 댓글 표시
I've seen the documentaiton on uipushtool and uitoolbar but I still don't understand how to recreate the standard figure default toobar (or at least some of its standard buttons) on an app designer figure;
댓글 수: 1
Ankush
2022년 8월 18일
I am facing a similar difficulty. Did you find any solution for this? Please do share
답변 (1개)
Srinik Ramayapally
2021년 7월 12일
Hey,
The figure toolbar is created by default when the figure is launched.
You can create a new toolbar by entering
your_figure_handle = figure;
tb = uitoolbar(your_figure_handle);

If at all you dont want to create a new toolbar but instead you just want to access the default one, you can do that by
defaultToolbar = findall(your_figure_handle,'Type','uitoolbar')
In the figure below a new pushtool has been created in the default figure toolbar

You can always add your own push tools and customize them, rearrange the existing ones and much more. For further information refer to the uitoolbar and uipushtool documentation
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!