I think this is a great tool, It near perfectly does what I need. However, I am having one issue. I cannot get a "SelectionChangeFcn" Callback function when I select it on the settings menu. I am trying to implement various jTree implementations on different tabs however the jTree is displayed no matter the tab selected (instead of just the correct tab). I think I can correct this by setting the jTree visibility to 'off' depending on the tab selected (I am new to jTree also) but I need a callback for the tab selection change.
Any help or ideas are appreciated. I really like this tab implementation and don’t really want to try any other tab methods since this implementation will display previously built GUI figures.
Elmar, great work!
Just one comment: I used it in Matlab R2013a, and the code cannot generate SelectionChangeFcn for buttongroup panel. Even I manually added the SelectionChangeFcn into the m file, it does not work in the GUI.
BTW, I have seen the comments by Syed Hussain and your response, but it may still not work for R2013a. Could you please provide a new version for the latest MATLAB? Thank you!
Under V2014B the table label is hidden by other objects. The work around it to add this piece of code at the opening of the GUI
p = handles.TBP_TabPanelContainer(2);
h = get(p,'Children');
set(p,'Children', [h(~ispanel) h(ispanel)]);
Does not work under Ubuntu 12.04, Matlab 2012a
Figure name has Upper and lower case
The tabpanel is called "tabPanel"
Calling tabpanel('My_Figure.fig', 'tabPanel')
creats a pop up message : file 'my_figure.fig' not found.
fh = openfig('My_Figure.fig');
1 0 0 -1 -1 -1 0 0