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 MSDN® topic Blocking Application Execution Using an AsyncWaitHandle, MATLAB does not support the use of the
WaitOne()
method overload with no arguments.You cannot call
EndInvoke
to wait for the asynchronous call to complete.