Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

How to overload the builtin addlistener function?

1 visualizzazione (ultimi 30 giorni)
Tmfu Vh
Tmfu Vh il 28 Lug 2019
Chiuso: MATLAB Answer Bot il 20 Ago 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?

Risposte (0)

Questa domanda è chiusa.

Prodotti


Release

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by