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 Exchange에서 Software 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