MATLAB: Uitab

uitab

I am using uitab to create tab panel, it is plotting in new window, but i want to plot in the figure window i had created can some body help. This was listed in undocumented matworks i am trying to use it.
hTabGroup = uitabgroup; tab1 = uitab(hTabGroup, 'title','Panel 1');

Best Answer

hTabGroup = uitabgroup('Parent', TheOtherFigure);
You are likely to want to give Position information as well.