MATLAB Answers

0

Confusion regarding uiswitch function in matlab GUI?

Asked by Sampath Rachumallu on 13 Jun 2019
Latest activity Answered by Walter Roberson
on 13 Jun 2019
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?

  0 Comments

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 13 Jun 2019
 Accepted Answer

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 Comments

Sign in to comment.