imcompatibility with matlab 2015

1 Ansicht (letzte 30 Tage)
ander
ander am 22 Sep. 2015
Beantwortet: ander am 12 Nov. 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.

Akzeptierte Antwort

ander
ander am 12 Nov. 2015
Finally i change from matlab 2015a to matlab 2014b.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 22 Sep. 2015
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 Kommentar
ander
ander am 22 Sep. 2015
The version of Matlab is Matlab 2015a. i am going to learn about SelectionChangeCallback

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by