Error while Debugging the code as : InvalidPropertyThere is no SelectionChangeFcn property on the TabGroup class.

조회 수: 2 (최근 30일)
I have a Matlab project in Matlab R2017a . While debugging the code, i get the following error as :
There is no SelectionChangeFcn property on the TabGroup class.
The error is in the next line: cv.TabGroup = uitabgroup; set(cv.TabGroup,'SelectionChangeFcn',@(s,e)cv.changeTabs(s,e));

채택된 답변

Adam
Adam 2017년 3월 21일
A look at the documentation together with the error message should make this obvious though I have also had a blind spot at times for a missing letter
SelectedChangedFcn
is the property name. Note the 'd' on the end.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numeric Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by