Why does cameratoolbar Orbit Camera delete my uicontextmenu?

If I follow the following steps, my context menu disappears. Is that supposed to happen?
f = figure;
ax = axes('Parent',f);
cameratoolbar(f,'Show');
c = uicontextmenu();
uimenu('Parent',c','Label','Test');
ax.UIContextMenu = c;
ax.UIContextMenu.Children
Right click on axes
Click on Orbit Camera to toggle on
Right click on axes
Click on Orbit Camera to toggle off
ax.UIContextMenu.Children

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

提问:

2019-12-16

编辑:

2024-12-17

Community Treasure Hunt

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

Start Hunting!

Translated by