Why does cameratoolbar Orbit Camera delete my uicontextmenu?

12 Ansichten (letzte 30 Tage)
Fred Dilkes
Fred Dilkes am 16 Dez. 2019
Bearbeitet: Adam Danz am 17 Dez. 2024
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

Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by