Main Content

Limitations to Support of .NET Events

MATLAB Support of Standard Signature of an Event Handler Delegate

An event handler in C# is a delegate with the following signature:

public delegate void MyEventHandler(object sender, MyEventArgs e)

The argument sender specifies the object that fired the event. The argument e holds data that can be used in the event handler. The class MyEventArgs is derived from the .NET class EventArgs. MATLAB® only handles events with this standard signature.