Confusion regarding uiswitch function in matlab GUI?

2 views (last 30 days)
I have just started working on MATLAB GUI using GUIDE.I need a switch in my gui.I have figure named 'settings'. when i entered
%uiswitch(settings);
It is showing an error
'Functionality not supported with figures created with the figure function. For more information, see Graphics Support in App Designer'.
I want to know how to add these uiswitch feature to existing figures using GUIDE? Should i move to appdesigner?

Accepted Answer

Walter Roberson
Walter Roberson on 13 Jun 2019
You cannot add uiswitch to GUIDE created GUI. GUIDE created GUI use "traditional figures". App Designer uses UI Figures though and uiswitch can be used with it.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!