Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to overload the builtin addlistener function?

1 vue (au cours des 30 derniers jours)
Tmfu Vh
Tmfu Vh le 28 Juil 2019
Clôturé : MATLAB Answer Bot le 20 Août 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?

Réponses (0)

Cette question est clôturée.

Produits


Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by