imcompatibility with matlab 2015

1 次查看(过去 30 天)
I have a Matlab project which works perfectly in Matlab 2010. Now I change Matlab 2010 (32bit) with Matlab 2015 (64bit).
I made a Gui using a uitabgroup, but now when I want to use that, Matlab gives me this error:
There is no SelectionChangeFcn property on the TabGroup class.
The error is in the next line:
myhandles.hTabGroup = uitabgroup(hfig,'SelectionChangeFcn',@panelAction);
I read the documentation about matlab 2015 and there is the selectionChangeFcn property on the uitabgroup properties.
I don`t know what I am doing wrong. Thanks.

采纳的回答

ander
ander 2015-11-12
Finally i change from matlab 2015a to matlab 2014b.

更多回答(1 个)

Walter Roberson
Walter Roberson 2015-9-22
Is it possible you are using R2014a instead of R2015-something? In R2014a I get a warning about uitabgroup being undocumented and how in R2010b several properties changed, including SelectionChangeFcn being changed to SelectionChangeCallback . The publicly documented uitabgroup dates from R2014b and uses SelectionChangeFcn it appears. So I suspect perhaps you are not using the R2015.
  1 个评论
ander
ander 2015-9-22
The version of Matlab is Matlab 2015a. i am going to learn about SelectionChangeCallback

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by