imcompatibility with matlab 2015

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 日

0 投票

Finally i change from matlab 2015a to matlab 2014b.

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 9 月 22 日

0 投票

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

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeSoftware Development Tools についてさらに検索

製品

質問済み:

2015 年 9 月 22 日

回答済み:

2015 年 11 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by