How to overload the builtin addlistener function?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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?
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!