imcompatibility with matlab 2015

1 visualizzazione (ultimi 30 giorni)
ander
ander il 22 Set 2015
Risposto: ander il 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.

Risposta accettata

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

Più risposte (1)

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

Accedi per commentare.

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by