Limitations to Support of .NET Delegates
MATLAB® does not support associating a delegate instance with a generic .NET method.
When calling a method asynchronously, be aware that:
MATLAB is a single-threaded application. Therefore, handling asynchronous calls in the MATLAB environment might result in deadlocks.
For the technique described in the Microsoft® .NET article Blocking Application Execution Using an AsyncWaitHandle, MATLAB does not support the use of the
WaitOne()
method overload with no arguments. This technique is supported with Microsoft .NET Framework only.You cannot call
EndInvoke
to wait for the asynchronous call to complete.