Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to overload the builtin addlistener function?

1 Ansicht (letzte 30 Tage)
Tmfu Vh
Tmfu Vh am 28 Jul. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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?

Antworten (0)

Diese Frage ist geschlossen.

Produkte


Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by