필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Listen to a property of an user-defined handle class

조회 수: 1 (최근 30일)
Ahmed Hossam
Ahmed Hossam 2017년 5월 10일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi,
In an user-defined handle class, I have attached a listener to a property, which I've defined in a property block using 'Setobservable'.
To create the listener I used the function addlistener. And I've defined the listener itself to be a property of my handle class.
Now I would like to create many objects of my class (from another handle class).
Is it possible to 'hear' that property from my other handle class so that I don't have as many listeners as I do have objects? If yes, how can this be acheived?
Thank you for your help and support!

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by