title: How to Programmatically Change Tabs in MATLAB GUI
body: <p>I'm currently trying to program a line in my MATLAB source that will change the tabs of my GUI that I've created using uicontrol, uitabgroup, uitab, etc.</p>
  
  <p>What I want is a single line piece of code that will change the currently selected tab of a GUI as shown in this documentation: <a href="https://www.mathworks.com/matlabcentral/answers/166175-how-to-programmatically-select-a-tab-in-a-uitabgroup" rel="nofollow">https://www.mathworks.com/matlabcentral/answers/166175-how-to-programmatically-select-a-tab-in-a-uitabgroup</a></p>
  
  <p>However, despite no errors showing, it doesn't change the tab. I'm currently using MATLAB 2011b and find this concerning since the post was made in almost 2015.</p>
  
  <p>Could anyone direct me in an appropriate direction or know of any resources regarding this issue for older versions of MATLAB?</p>