cameratoolbar('getmode') doesn't return anything

1 view (last 30 days)
Dan
Dan on 14 Mar 2016
Answered: Will Jackson on 21 Jul 2016
cameratoolbar('getmode') doesn't return anything! using Matlab 2015b

Answers (1)

Will Jackson
Will Jackson on 21 Jul 2016
The 'getmode' input of cameratoolbar returns empty if you have not selected a mode (one of the first seven buttons on the cameratoolbar). After you select a mode, it is populated with 'orbit', 'orbitscenelight', 'pan', 'dollyhv', 'zoom', 'dollyfb', or 'roll' which matches the order of the mode buttons on the toolbar.

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!