Confusion regarding uiswitch function in matlab GUI?

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Walter Roberson
Walter Roberson il 13 Giu 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.

Più risposte (0)

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by