How to overload the builtin addlistener function?

function H=addlistener( hSource,EventName,Callback )
H=builtin('addlistener',hSource,char(EventName),Callback);
end
I want to overload the builtin function to have it support string EventName. But MATLAB just doesn't call my function, still using the builtin one. What is the right way?

답변 (0개)

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

제품

릴리스

R2016a

질문:

2019년 7월 28일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by