Confusion regarding uiswitch function in matlab GUI?

2 次查看(过去 30 天)
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?

采纳的回答

Walter Roberson
Walter Roberson 2019-6-13
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by