Contenuto principale

Eventi e delegati .NET in MATLAB

Utilizzare i richiami agli eventi .NET, creare e chiamare i delegati .NET

Un delegato è un modo per dire a C# quale metodo chiamare quando viene attivato un evento. Un evento è una notifica di .NET che segnala il verificarsi di un'azione. Questi argomenti mostrano come utilizzare gli eventi e i delegati .NET in MATLAB®.

Funzioni

BeginInvokeInitiate asynchronous .NET delegate call
EndInvokeRetrieve result of asynchronous call initiated by .NET System.Delegate BeginInvoke method
CombineStatic .NET System.Delegate Combine method
RemoveStatic .NET System.Delegate Remove method
RemoveAllStatic .NET System.Delegate RemoveAll method

Argomenti

Risoluzione dei problemi

Limitations to Support of .NET Events

.NET features not supported in MATLAB.

Limitations to Support of .NET Delegates

.NET features not supported in MATLAB.